mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
xous: remove impl Default for MessageSender
This is redundant and is removed at the suggestion of clippy. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
58059b12b2
commit
8b38663ad1
1 changed files with 1 additions and 7 deletions
|
|
@ -57,7 +57,7 @@ pub static TESTING_RNG_SEED: AtomicU64 = AtomicU64::new(0);
|
|||
pub mod exceptions;
|
||||
pub use exceptions::*;
|
||||
|
||||
#[derive(Debug, PartialEq, Eq, Ord, PartialOrd, Copy, Clone)]
|
||||
#[derive(Debug, PartialEq, Eq, Ord, PartialOrd, Copy, Clone, Default)]
|
||||
pub struct MessageSender {
|
||||
data: usize,
|
||||
}
|
||||
|
|
@ -77,12 +77,6 @@ impl MessageSender {
|
|||
}
|
||||
}
|
||||
|
||||
impl core::default::Default for MessageSender {
|
||||
fn default() -> Self {
|
||||
MessageSender { data: 0 }
|
||||
}
|
||||
}
|
||||
|
||||
impl core::fmt::Display for MessageSender {
|
||||
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
|
||||
write!(f, "MessageSender.data: 0x{:08x}", self.data)
|
||||
|
|
|
|||
Loading…
Reference in a new issue