Fix most Clippy warnings.

This commit is contained in:
Guillaume Endignoux
2020-09-23 16:21:20 +02:00
parent 616476ac43
commit 5511811703
8 changed files with 16 additions and 5 deletions

View File

@@ -25,6 +25,7 @@ pub struct Console {
}
impl Console {
#[allow(clippy::new_without_default)]
pub fn new() -> Console {
Console {
allow_buffer: [0; BUFFER_SIZE],