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:
parent
f78a062f3a
commit
04a694e2ad
5 changed files with 24 additions and 24 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue