diff options
author | Andrew Gallant <jamslam@gmail.com> | 2017-10-21 20:32:43 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2017-10-21 22:40:10 -0400 |
commit | f0028a66ecc9cd6caf864489c93b7f60624437e4 (patch) | |
tree | 64e6f2d269ab77ab163bff4408b655c973eb2d58 | |
parent | 08060a210597f9c0697d6e9eb305d23e1b8291a0 (diff) |
style
-rw-r--r-- | src/printer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printer.rs b/src/printer.rs index ebc5b2d4..4d7966c5 100644 --- a/src/printer.rs +++ b/src/printer.rs @@ -474,7 +474,7 @@ impl<W: WriteColor> Printer<W> { fn write_colored<F>(&mut self, buf: &[u8], get_color: F) where F: Fn(&ColorSpecs) -> &ColorSpec { - let _ = self.wtr.set_color( get_color(&self.colors) ); + let _ = self.wtr.set_color(get_color(&self.colors)); self.write(buf); let _ = self.wtr.reset(); } |