diff options
Diffstat (limited to 'rprt-engine/src/buffer.rs')
| -rw-r--r-- | rprt-engine/src/buffer.rs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/rprt-engine/src/buffer.rs b/rprt-engine/src/buffer.rs index f536054..f2c6e0f 100644 --- a/rprt-engine/src/buffer.rs +++ b/rprt-engine/src/buffer.rs @@ -11,10 +11,7 @@ pub struct Buffer { impl Buffer { pub fn new(name: String, content: String) -> Self { - Self { - name, - content, - } + Self { name, content } } fn generate_shell_name(command: &str) -> String { @@ -43,9 +40,6 @@ impl Buffer { Err(e) => format!("Command failed: {}", e), }; - Self { - name, - content, - } + Self { name, content } } } |
