From 3478676f8f7ec6817b1e17d09926fc35a507977a Mon Sep 17 00:00:00 2001 From: Matthias Krüger Date: Thu, 11 Apr 2019 09:54:26 +0200 Subject: Remove redundant closures and imports --- copypasta/src/x11.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'copypasta/src') diff --git a/copypasta/src/x11.rs b/copypasta/src/x11.rs index 3e0d7913..3bcf8455 100644 --- a/copypasta/src/x11.rs +++ b/copypasta/src/x11.rs @@ -124,7 +124,7 @@ impl Clipboard { S: AsRef, { use std::io::Write; - use std::process::{Command, Stdio}; + use std::process::Stdio; let contents = contents.into(); let mut child = Command::new("xclip").args(args).stdin(Stdio::piped()).spawn()?; -- cgit