chore: Appease clippy

This commit is contained in:
Jonas Platte
2022-11-24 12:37:20 +01:00
committed by Jonas Platte
parent 8ce216974f
commit 43f0ba7711
3 changed files with 4 additions and 4 deletions
@@ -641,6 +641,7 @@ mod tests {
}
#[cfg(not(target_os = "macos"))]
#[allow(unknown_lints, clippy::unchecked_duration_subtraction)]
#[async_test]
async fn timing_out() {
let (alice_machine, bob) = setup_verification_machine().await;
@@ -949,9 +949,9 @@ struct Ready {
}
impl RequestState<Ready> {
fn to_started_sas<'a>(
fn to_started_sas(
&self,
content: &StartContent<'a>,
content: &StartContent<'_>,
identities: IdentitiesBeingVerified,
we_started: bool,
request_handle: RequestHandle,
+1 -2
View File
@@ -215,8 +215,7 @@ fn build_xcframework(
create_dir_all(framework_target.as_path())?;
create_dir_all(swift_target.as_path())?;
let mut copy_options = fs_extra::dir::CopyOptions::default();
copy_options.content_only = true;
let copy_options = fs_extra::dir::CopyOptions { content_only: true, ..Default::default() };
fs_extra::dir::copy(xcframework_path.as_path(), framework_target.as_path(), &copy_options)?;
fs_extra::dir::copy(swift_dir.as_path(), swift_target.as_path(), &copy_options)?;