Commit 064aa594 authored by Martin Kröning's avatar Martin Kröning 🦀
Browse files

Fix clippy::branches_sharing_code in current nightly

parent a8a5a94b
......@@ -562,14 +562,10 @@ impl BlockedTaskQueue {
cursor.move_next();
}
}
// No, then just insert it at the end of the list.
self.list.push_back(new_node);
} else {
// No, then just insert it at the end of the list.
self.list.push_back(new_node);
}
}
/// Manually wake up a blocked task.
pub fn custom_wakeup(&mut self, task: TaskHandle) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment