diff options
author | Aram Drevekenin <aram@poor.dev> | 2020-10-15 11:31:27 +0200 |
---|---|---|
committer | Aram Drevekenin <aram@poor.dev> | 2020-10-15 11:31:27 +0200 |
commit | fde53ddb3bcb769bc3474ba3d739d268619bf138 (patch) | |
tree | 78603036b11678804673011567c1be31bae957ad | |
parent | a703513412d4da71085e55fd9d62a080527b2800 (diff) |
style(clippy): minor fix
-rw-r--r-- | src/tests/fakes/fake_output.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/fakes/fake_output.rs b/src/tests/fakes/fake_output.rs index 1950dec..ef7ea3c 100644 --- a/src/tests/fakes/fake_output.rs +++ b/src/tests/fakes/fake_output.rs @@ -91,11 +91,11 @@ impl Backend for TestBackend { string.push_str(&cell.symbol); } None => { - string.push_str(" "); + string.push(' '); } } } - string.push_str("\n"); + string.push('\n'); } self.draw_events.lock().unwrap().push(string); Ok(()) |