From cc8186103b629d3ea1eb4d6247c52b80ca60eea4 Mon Sep 17 00:00:00 2001 From: Ethan P Date: Wed, 8 May 2019 19:36:28 -0700 Subject: [PATCH] Reformatted with `cargo fmt`. --- src/printer.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/printer.rs b/src/printer.rs index ba338a7c..1ba86b68 100644 --- a/src/printer.rs +++ b/src/printer.rs @@ -367,7 +367,8 @@ impl<'a> Printer for InteractivePrinter<'a> { match chunk { // ANSI escape passthrough. (text, true) => { - let is_ansi_csi = text.chars().skip(1).nth(0).map_or(false, |c|c == '['); + let is_ansi_csi = + text.chars().skip(1).nth(0).map_or(false, |c| c == '['); if is_ansi_csi && text.chars().last().map_or(false, |c| c == 'm') { // It's an ANSI SGR sequence.