diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2024-04-24 11:51:38 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2024-04-25 15:22:32 +0100 |
commit | 27475324480a9a878db578dee5ec7a83db874ef2 (patch) | |
tree | 7cd097fb1fbf0f2b10caa9c213d7c6c1f2daff9a | |
parent | db1ed00c0f7f3f3d22d6cd9da97844906a2e0edf (diff) | |
download | arti-27475324480a9a878db578dee5ec7a83db874ef2.tar.gz arti-27475324480a9a878db578dee5ec7a83db874ef2.zip |
Suppress a spurious dead code lint
-rw-r--r-- | crates/tor-rtmock/src/task.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/tor-rtmock/src/task.rs b/crates/tor-rtmock/src/task.rs index a4d8aa3c0..c352dbd8e 100644 --- a/crates/tor-rtmock/src/task.rs +++ b/crates/tor-rtmock/src/task.rs @@ -605,6 +605,7 @@ impl Drop for ProgressUntilStalledFuture { //---------- ancillary and convenience functions ---------- /// Trait to let us assert at compile time that something is nicely `Sync` etc. +#[allow(dead_code)] // yes, we don't *use* anything from this trait trait EnsureSyncSend: Sync + Send + 'static {} impl EnsureSyncSend for ActualWaker {} impl EnsureSyncSend for MockExecutor {} |