chore: clippy fix

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-07-31 13:34:23 +02:00
parent df96de1cd0
commit bc3e091f45
11 changed files with 49 additions and 75 deletions

View File

@@ -6,6 +6,7 @@ use std::{
sync::{Arc, Mutex},
};
#[derive(Default)]
struct BufferInner {
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
@@ -84,14 +85,7 @@ impl Ui for BufferUi {
}
}
impl Default for BufferInner {
fn default() -> Self {
Self {
stdout: Vec::new(),
stderr: Vec::new(),
}
}
}
impl Default for BufferUi {
fn default() -> Self {