diff --git a/src/pretty_printer.rs b/src/pretty_printer.rs index 7f1c2b7f..1d81dc81 100644 --- a/src/pretty_printer.rs +++ b/src/pretty_printer.rs @@ -40,10 +40,11 @@ pub struct PrettyPrinter<'a> { impl<'a> PrettyPrinter<'a> { pub fn new() -> Self { - let mut config = Config::default(); - - config.colored_output = true; - config.true_color = true; + let config = Config { + colored_output: true, + true_color: true, + ..Default::default() + }; PrettyPrinter { inputs: vec![],