Skip to content

Commit

Permalink
chore: allow unused trait in test
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Feb 19, 2024
1 parent 0f71fd5 commit 850f6c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actix-utils/src/future/poll_fn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ mod tests {
#[allow(dead_code)]
fn require_sync<T: Sync>(_t: &T) {}

#[allow(unused)]
trait AmbiguousIfUnpin<A> {
fn some_item(&self) {}
}
Expand Down

0 comments on commit 850f6c0

Please sign in to comment.