fix rust_analyzer choking on local use

This commit is contained in:
Stephan Dilly 2020-12-22 13:17:10 +01:00
parent 6fcbb99faf
commit c19567e59b

View file

@ -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