diff --git a/src/rt/timer.rs b/src/rt/timer.rs index 1e15694726..c486ecc14a 100644 --- a/src/rt/timer.rs +++ b/src/rt/timer.rs @@ -104,7 +104,7 @@ impl dyn Sleep { } /// Downcast a pinned &mut Sleep object to its original type - pub fn downcast_mut_pin(self: Pin<&mut Self>) -> Option> + pub fn downcast_mut_pin(self: Pin<&mut Self>) -> Option> where T: Sleep + 'static, {