From 8760faca15039f7a74e7a9cfb2318ec97af152e1 Mon Sep 17 00:00:00 2001
From: IGI-111 <igi.222@gmail.com>
Date: Mon, 13 Mar 2017 11:49:24 +0100
Subject: [PATCH] no need for templating

---
 src/color.rs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/color.rs b/src/color.rs
index 26c9fd20..1cdf32c4 100644
--- a/src/color.rs
+++ b/src/color.rs
@@ -211,10 +211,10 @@ impl<W: Write> DetectColors for W {
 }
 
 /// Detect a color using OSC 4.
-fn detect_color<W: Write>(stdout: &mut W,
-                          stdin: &mut Read,
-                          color: u16)
-                          -> io::Result<bool> {
+fn detect_color(stdout: &mut Write,
+                stdin: &mut Read,
+                color: u16)
+                -> io::Result<bool> {
     // Is the color available?
     // Use `ESC ] 4 ; color ; ? BEL`.
     write!(stdout, "\x1B]4;{};?\x07", color)?;
-- 
GitLab