From 5f7885749c4d7e48869b1fc0be4d430601cdbbfa Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Wed, 27 Sep 2017 20:29:44 -0400 Subject: Use clippy = "*", update, and fix some warnings (#796) Because there are so many clippy warnings in the current codebase, this commit removes '#![cfg_attr(feature = "clippy", deny(clippy))]', to make it easier to fix warnings incrementally. --- 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 32844753..4c58c0a4 100644 --- a/copypasta/src/x11.rs +++ b/copypasta/src/x11.rs @@ -137,7 +137,7 @@ impl Clipboard { .stdin(Stdio::piped()) .spawn()?; - if let Some(mut stdin) = child.stdin.as_mut() { + if let Some(stdin) = child.stdin.as_mut() { stdin.write_all(contents.as_bytes())?; } -- cgit v1.2.3-54-g00ecf