Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed Sep 21, 2024
1 parent 80893ed commit ab0fdb0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions unified-scheduler-logic/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -654,8 +654,7 @@ impl UsageFromTask {

fn task(&self) -> &Task {
match self {
Self::Readonly(t) => t,
Self::Writable(t) => t,
Self::Readonly(t) | Self::Writable(t) => t,
}
}
}
Expand Down Expand Up @@ -852,7 +851,6 @@ unsafe impl enum_ptr::Aligned for UsageQueue {
const ALIGNMENT: usize = std::mem::align_of::<TokenCell<UsageQueueInner>>();
}


/// A high-level `struct`, managing the overall scheduling of [tasks](Task), to be used by
/// `solana-unified-scheduler-pool`.
#[derive(Debug)]
Expand Down

0 comments on commit ab0fdb0

Please sign in to comment.