Make clippy happy

timeout_old
Tassilo Horn 3 years ago
parent a528550163
commit 3ba4779545
  1. 2
      src/cmds.rs

@ -335,7 +335,7 @@ struct SwaymsgCmd<'a> {
impl DisplayFormat for SwaymsgCmd<'_> { impl DisplayFormat for SwaymsgCmd<'_> {
fn format_for_display(&self, _: &cfg::Config) -> std::string::String { fn format_for_display(&self, _: &cfg::Config) -> std::string::String {
format!("{}", self.cmd.join(" ")) self.cmd.join(" ").to_string()
} }
} }

Loading…
Cancel
Save