Skip to content

Commit

Permalink
Use unimplemented!() to convey intention better
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed Jan 19, 2024
1 parent 07de5b4 commit afd580e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions unified-scheduler-pool/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ mod tests {
for AsyncScheduler<TRIGGER_RACE_CONDITION>
{
fn id(&self) -> SchedulerId {
todo!();
unimplemented!();
}

fn context(&self) -> &SchedulingContext {
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit afd580e

Please sign in to comment.