diff options
author | Fahmi Akbar Wildana <f.a.wildana@gmail.com> | 2019-10-17 06:17:16 +0700 |
---|---|---|
committer | David Peter <sharkdp@users.noreply.github.com> | 2019-10-20 21:43:51 +0200 |
commit | 4664fb6f91e1c713cd623daf8dfa34462f0dd7f9 (patch) | |
tree | 64898ea22b25363cdae3b93cc5f3a8892c8fbdc8 /examples | |
parent | e287594654b6592f9f7425571b061b62b9a2a138 (diff) |
Remove comment in both examples
```diff
-// add_file()
```
Diffstat (limited to 'examples')
-rw-r--r-- | examples/using_controller.rs | 1 | ||||
-rw-r--r-- | examples/using_printer.rs | 1 |
2 files changed, 0 insertions, 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)?; |