chore: Appease clippy
This commit is contained in:
committed by
Jonas Platte
parent
8ce216974f
commit
43f0ba7711
@@ -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
@@ -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(), ©_options)?;
|
||||
fs_extra::dir::copy(swift_dir.as_path(), swift_target.as_path(), ©_options)?;
|
||||
|
||||
Reference in New Issue
Block a user