From 4664fb6f91e1c713cd623daf8dfa34462f0dd7f9 Mon Sep 17 00:00:00 2001 From: Fahmi Akbar Wildana Date: Thu, 17 Oct 2019 06:17:16 +0700 Subject: [PATCH] Remove comment in both examples ```diff -// add_file() ``` --- examples/using_controller.rs | 1 - examples/using_printer.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/examples/using_controller.rs b/examples/using_controller.rs index d49477e2..6341c5c6 100644 --- a/examples/using_controller.rs +++ b/examples/using_controller.rs @@ -19,7 +19,6 @@ fn main() { let mut add_file = |file: &'static str| config.files.push(InputFile::Ordinary(file)); add_file("Cargo.toml"); - // add_file("build.rs"); let print = || Controller::new(&config, &assets).run(); print().expect("no error"); diff --git a/examples/using_printer.rs b/examples/using_printer.rs index e8936c97..94222518 100644 --- a/examples/using_printer.rs +++ b/examples/using_printer.rs @@ -26,7 +26,6 @@ fn main() -> bat::errors::Result<()> { }; let mut add_file = |file: &'static str| config.files.push(InputFile::Ordinary(file)); - // add_file("Cargo.toml"); add_file("build.rs"); let mut output_type = OutputType::from_mode(config.paging_mode, config.pager)?;