Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Jun 27, 2023
1 parent cfa7de6 commit 331d880
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ mod tests {
assert_eq!(response, Response::Here(3, 2, 1));
}

#[allow(unconditional_recursion, unused)]
#[allow(unconditional_recursion, clippy::extra_unused_type_parameters, unused)]
fn assert_send<T: Send>() {
assert_send::<Channel<String, u32>>();
assert_send::<Responder<'static, String, u32>>();
Expand All @@ -1142,7 +1142,7 @@ mod tests {
assert_send::<Responder<'static, &'static mut String, u32>>();
assert_send::<Requester<'static, &'static mut String, u32>>();
}
#[allow(unconditional_recursion, unused)]
#[allow(unconditional_recursion, clippy::extra_unused_type_parameters, unused)]
fn assert_sync<T: Sync>() {
assert_sync::<Channel<String, u32>>();
assert_sync::<Channel<String, u32>>();
Expand Down

0 comments on commit 331d880

Please sign in to comment.