Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit afd580e

Browse files
committed
Use unimplemented!() to convey intention better
1 parent 07de5b4 commit afd580e

File tree

1 file changed

+3
-3
lines changed
  • unified-scheduler-pool/src

1 file changed

+3
-3
lines changed

unified-scheduler-pool/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ mod tests {
10331033
for AsyncScheduler<TRIGGER_RACE_CONDITION>
10341034
{
10351035
fn id(&self) -> SchedulerId {
1036-
todo!();
1036+
unimplemented!();
10371037
}
10381038

10391039
fn context(&self) -> &SchedulingContext {
@@ -1102,11 +1102,11 @@ mod tests {
11021102
type Inner = Self;
11031103

11041104
fn into_inner(self) -> (ResultWithTimings, Self::Inner) {
1105-
todo!();
1105+
unimplemented!();
11061106
}
11071107

11081108
fn from_inner(_inner: Self::Inner, _context: SchedulingContext) -> Self {
1109-
todo!();
1109+
unimplemented!();
11101110
}
11111111

11121112
fn spawn(

0 commit comments

Comments
 (0)