mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-16 12:55:23 +01:00
Fix clippy lints
This commit is contained in:
parent
9989af1b97
commit
2efdef6029
7 changed files with 38 additions and 2 deletions
|
|
@ -29,6 +29,12 @@ impl<T> DoublyLinkedList<T> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<T> Default for DoublyLinkedList<T> {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: Clone> DoublyLinkedList<T> {
|
||||
const R: Ordering = Ordering::Relaxed;
|
||||
|
||||
|
|
|
|||
|
|
@ -64,3 +64,9 @@ impl CriticalSectionWakerRegistration {
|
|||
});
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for CriticalSectionWakerRegistration {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue