diff --git a/src/platform/mailbox.rs b/src/platform/mailbox.rs index 0d42e44..1316ba6 100644 --- a/src/platform/mailbox.rs +++ b/src/platform/mailbox.rs @@ -277,6 +277,12 @@ impl core::fmt::Display for Mailbox { } } +impl Default for Mailbox { + fn default() -> Self { + Self::new() + } +} + impl Mailbox { pub fn new() -> Mailbox { Mailbox { buffer: [0; 36] }