From 7c407ef417f743b95394c4b89fdad5c4381f4f93 Mon Sep 17 00:00:00 2001 From: freyja Date: Sun, 20 Nov 2022 11:20:57 -0800 Subject: [PATCH] use push instead of push_str --- src/plane/plane_commands.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plane/plane_commands.rs b/src/plane/plane_commands.rs index 3e1c245..c106d13 100644 --- a/src/plane/plane_commands.rs +++ b/src/plane/plane_commands.rs @@ -121,8 +121,8 @@ impl Plane { self.nomens .keys() - .for_each(|nomen| { memory.push_str(nomen) ; memory.push_str("\n")}); + .for_each(|nomen| { memory.push_str(nomen) ; memory.push('\n')}); - return memory + memory } }