diff options
| author | 2023-10-27 03:58:45 +0200 | |
|---|---|---|
| committer | 2023-10-27 03:58:45 +0200 | |
| commit | 65823875791ecebf24d049cc0782e7475a37899b (patch) | |
| tree | 1088c656ef7ad9782374952045022d2c104931b2 /winit/src/clipboard.rs | |
| parent | 8cc19de254c37d3123d5ea1b6513f1f34d35c7c8 (diff) | |
| parent | f1b1344d59fa7354615f560bd25ed01ad0c9f865 (diff) | |
| download | iced-65823875791ecebf24d049cc0782e7475a37899b.tar.gz iced-65823875791ecebf24d049cc0782e7475a37899b.tar.bz2 iced-65823875791ecebf24d049cc0782e7475a37899b.zip | |
Merge branch 'master' into text-editor
Diffstat (limited to '')
| -rw-r--r-- | winit/src/clipboard.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winit/src/clipboard.rs b/winit/src/clipboard.rs index 7271441d..f7a32868 100644 --- a/winit/src/clipboard.rs +++ b/winit/src/clipboard.rs @@ -45,7 +45,7 @@ impl Clipboard { State::Connected(clipboard) => match clipboard.write(contents) { Ok(()) => {} Err(error) => { - log::warn!("error writing to clipboard: {}", error) + log::warn!("error writing to clipboard: {error}"); } }, State::Unavailable => {} @@ -59,6 +59,6 @@ impl crate::core::Clipboard for Clipboard { } fn write(&mut self, contents: String) { - self.write(contents) + self.write(contents); } } |
