From 3ba4779545e00675b9d4ca417dda660227d64ad7 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Sun, 4 Jul 2021 21:26:45 +0200 Subject: [PATCH] Make clippy happy --- src/cmds.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmds.rs b/src/cmds.rs index cd5beac..870389d 100644 --- a/src/cmds.rs +++ b/src/cmds.rs @@ -335,7 +335,7 @@ struct SwaymsgCmd<'a> { impl DisplayFormat for SwaymsgCmd<'_> { fn format_for_display(&self, _: &cfg::Config) -> std::string::String { - format!("{}", self.cmd.join(" ")) + self.cmd.join(" ").to_string() } }