1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-07-03 03:31:03 +02:00

refactor: fix a few pedantic clippy warnings

This commit is contained in:
Jake Stanger 2023-04-29 22:08:38 +01:00
parent 7f46cb4976
commit 38da59cd41
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
4 changed files with 16 additions and 17 deletions

View file

@ -55,7 +55,7 @@ impl DynamicString {
if let OutputStream::Stdout(out) = out {
let mut label_parts = lock!(label_parts);
let _ = std::mem::replace(&mut label_parts[i], out);
let _: String = std::mem::replace(&mut label_parts[i], out);
let string = label_parts.join("");
send!(tx, string);