diff options
author | 2021-03-10 01:16:26 +0100 | |
---|---|---|
committer | 2021-03-10 01:16:26 +0100 | |
commit | b22b0dd7ff56d433c459e0d14e14eb5472a6224d (patch) | |
tree | 1c031a439897663ee8cd88cd8028606a05d6321f /native/src/clipboard.rs | |
parent | bbca5c4bde6f9e6e54cca6cb216d38dfd3864e74 (diff) | |
download | iced-b22b0dd7ff56d433c459e0d14e14eb5472a6224d.tar.gz iced-b22b0dd7ff56d433c459e0d14e14eb5472a6224d.tar.bz2 iced-b22b0dd7ff56d433c459e0d14e14eb5472a6224d.zip |
Update `window_clipboard` to `0.2`
Diffstat (limited to 'native/src/clipboard.rs')
-rw-r--r-- | native/src/clipboard.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/clipboard.rs b/native/src/clipboard.rs index ecdccabf..3eeb184d 100644 --- a/native/src/clipboard.rs +++ b/native/src/clipboard.rs @@ -1,6 +1,6 @@ /// A buffer for short-term storage and transfer within and between /// applications. pub trait Clipboard { - /// Returns the current content of the [`Clipboard`] as text. - fn content(&self) -> Option<String>; + /// Reads the current content of the [`Clipboard`] as text. + fn read(&self) -> Option<String>; } |