mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-22 14:30:42 +01:00
Remove comment in both examples
```diff -// add_file() ```
This commit is contained in:
parent
e287594654
commit
4664fb6f91
@ -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");
|
||||
|
@ -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)?;
|
||||
|
Loading…
Reference in New Issue
Block a user