mirror of
https://github.com/fafhrd91/actix-net
synced 2025-08-18 15:05:31 +02:00
chore: allow unused trait in test
This commit is contained in:
@@ -103,6 +103,7 @@ mod tests {
|
|||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
fn require_sync<T: Sync>(_t: &T) {}
|
fn require_sync<T: Sync>(_t: &T) {}
|
||||||
|
|
||||||
|
#[allow(unused)]
|
||||||
trait AmbiguousIfUnpin<A> {
|
trait AmbiguousIfUnpin<A> {
|
||||||
fn some_item(&self) {}
|
fn some_item(&self) {}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user