aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index adb7eed..afde461 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -842,6 +842,7 @@ mod tests {
use owo_colors::OwoColorize;
// Shamelessly stolen from https://github.com/rust-lang/rfcs/issues/2798
+ #[allow(dead_code)]
pub fn panic_after<T, F>(d: Duration, f: F) -> T
where
T: Send + 'static,