mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-31 02:01:05 +00: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));
|
let mut add_file = |file: &'static str| config.files.push(InputFile::Ordinary(file));
|
||||||
|
|
||||||
add_file("Cargo.toml");
|
add_file("Cargo.toml");
|
||||||
// add_file("build.rs");
|
|
||||||
|
|
||||||
let print = || Controller::new(&config, &assets).run();
|
let print = || Controller::new(&config, &assets).run();
|
||||||
print().expect("no error");
|
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));
|
let mut add_file = |file: &'static str| config.files.push(InputFile::Ordinary(file));
|
||||||
|
|
||||||
// add_file("Cargo.toml");
|
|
||||||
add_file("build.rs");
|
add_file("build.rs");
|
||||||
|
|
||||||
let mut output_type = OutputType::from_mode(config.paging_mode, config.pager)?;
|
let mut output_type = OutputType::from_mode(config.paging_mode, config.pager)?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user