diff options
Diffstat (limited to 'src/protocol.rs')
-rw-r--r-- | src/protocol.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/protocol.rs b/src/protocol.rs index 14fa7f9..e883441 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -1,8 +1,6 @@ -// https://github.com/rust-lang/rust-clippy/issues/6902 -#![allow(clippy::use_self)] - // eventually it would be nice to make this a const function so that we could // just get the version from a variable directly, but this is fine for now +#[must_use] pub fn version() -> u32 { let major = env!("CARGO_PKG_VERSION_MAJOR"); let minor = env!("CARGO_PKG_VERSION_MINOR"); @@ -36,6 +34,9 @@ pub enum Action { plaintext: String, org_id: Option<String>, }, + ClipboardStore { + text: String, + }, Quit, Version, } |