From afd580e8f86634447deaa86282e24bd257fbdee5 Mon Sep 17 00:00:00 2001 From: Ryo Onodera Date: Fri, 19 Jan 2024 23:49:33 +0900 Subject: [PATCH] Use unimplemented!() to convey intention better --- unified-scheduler-pool/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unified-scheduler-pool/src/lib.rs b/unified-scheduler-pool/src/lib.rs index cc0826375637ac..deae3697807705 100644 --- a/unified-scheduler-pool/src/lib.rs +++ b/unified-scheduler-pool/src/lib.rs @@ -1033,7 +1033,7 @@ mod tests { for AsyncScheduler { fn id(&self) -> SchedulerId { - todo!(); + unimplemented!(); } fn context(&self) -> &SchedulingContext { @@ -1102,11 +1102,11 @@ mod tests { type Inner = Self; fn into_inner(self) -> (ResultWithTimings, Self::Inner) { - todo!(); + unimplemented!(); } fn from_inner(_inner: Self::Inner, _context: SchedulingContext) -> Self { - todo!(); + unimplemented!(); } fn spawn(