Skip to content

Commit

Permalink
refactor(threading)!: remove PartialOrd impl on some types (ariel-o…
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 authored Dec 20, 2024
2 parents 9115bfe + 624d5b4 commit 78a2d9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ariel-os-runqueue/src/runqueue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ impl From<RunqueueId> for usize {
}
}

#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub struct ThreadId(u8);

Expand Down
2 changes: 1 addition & 1 deletion src/ariel-os-threads/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ impl Scheduler {
}

/// ID of a physical core.
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub struct CoreId(pub(crate) u8);

Expand Down

0 comments on commit 78a2d9d

Please sign in to comment.