From b9c09de9f20b78601710470e12d798b8656d8d00 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 14 May 2018 17:49:08 -0400 Subject: use the more generic Terminal trait here --- src/colors.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/colors.rs b/src/colors.rs index 182ea23..15155cc 100644 --- a/src/colors.rs +++ b/src/colors.rs @@ -137,9 +137,9 @@ impl Colors { }) } - fn print_color( + fn print_color( &self, - t: &mut term::StdoutTerminal, + t: &mut term::Terminal, color: Option<&term::color::Color>, ) { self.print_wrapped(|| { -- cgit v1.2.3