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

refactor: fix latest clippy warnings

This commit is contained in:
Jake Stanger 2024-05-11 20:55:43 +01:00
parent f78a062f3a
commit 04a694e2ad
5 changed files with 24 additions and 24 deletions

View file

@ -93,7 +93,7 @@ impl IronVar {
/// Sets the current variable value.
/// The change is broadcast to all receivers.
fn set(&mut self, value: Option<String>) {
self.value = value.clone();
self.value.clone_from(&value);
send!(self.tx, value);
}