Skip to content
Snippets Groups Projects
Commit 80b4e03c authored by Martin Kröning's avatar Martin Kröning :crab:
Browse files

Clippy: Resolve derivable-impls

parent 7ac49c7b
No related branches found
No related tags found
No related merge requests found
......@@ -221,6 +221,7 @@ impl TaskHandlePriorityQueue {
}
}
#[derive(Default)]
struct QueueHead {
head: Option<Rc<RefCell<Task>>>,
tail: Option<Rc<RefCell<Task>>>,
......@@ -235,15 +236,6 @@ impl QueueHead {
}
}
impl Default for QueueHead {
fn default() -> Self {
Self {
head: None,
tail: None,
}
}
}
/// Realize a priority queue for tasks
pub struct PriorityTaskQueue {
queues: [QueueHead; NO_PRIORITIES],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment