parent
593544a6ec
commit
97ccf3ceb5
|
@ -277,6 +277,12 @@ impl core::fmt::Display for Mailbox {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Default for Mailbox {
|
||||||
|
fn default() -> Self {
|
||||||
|
Self::new()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl Mailbox {
|
impl Mailbox {
|
||||||
pub fn new() -> Mailbox {
|
pub fn new() -> Mailbox {
|
||||||
Mailbox { buffer: [0; 36] }
|
Mailbox { buffer: [0; 36] }
|
||||||
|
|
Loading…
Reference in New Issue