summaryrefslogtreecommitdiffstats
path: root/src/clipboard.rs
diff options
context:
space:
mode:
authorStephan Dilly <dilly.stephan@gmail.com>2020-12-22 13:17:10 +0100
committerStephan Dilly <dilly.stephan@gmail.com>2020-12-22 13:17:10 +0100
commitc19567e59b8b9baa5829325cfb4f30da95026c52 (patch)
tree6daffb459b01ed9269f09e59395d276166b1943f /src/clipboard.rs
parent6fcbb99fafd8df81a696496ae241d9217ce1a948 (diff)
fix rust_analyzer choking on local `use`
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