summaryrefslogtreecommitdiffstats
path: root/src/clipboard.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/clipboard.rs')
-rw-r--r--src/clipboard.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/clipboard.rs b/src/clipboard.rs
index 7270d89b..8b56e3e9 100644
--- a/src/clipboard.rs
+++ b/src/clipboard.rs
@@ -1,12 +1,10 @@
-use anyhow::Result;
+use anyhow::{anyhow, Result};
#[cfg(target_os = "linux")]
use std::ffi::OsStr;
use std::io::Write;
use std::process::{Command, Stdio};
fn execute_copy_command(command: Command, text: &str) -> Result<()> {
- use anyhow::anyhow;
-
let mut command = command;
let mut process = command