diff options
Diffstat (limited to 'src/utils.rs')
| -rw-r--r-- | src/utils.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/utils.rs b/src/utils.rs index 5bc1237..9dfbbd7 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -14,12 +14,6 @@ pub fn copy(src: &str) -> Result<()> { .map_err(|err| anyhow!("Failed to copy, {err}")) } -pub fn paste() -> Result<String> { - ClipboardContext::new() - .and_then(|mut ctx| ctx.get_contents()) - .map_err(|err| anyhow!("Failed to paste, {err}")) -} - pub fn now() -> String { let now = Local::now(); now.to_rfc3339_opts(SecondsFormat::Secs, false) |
