You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bat/src
David Peter 48541b8507 Fix clippy suggestions
Leads to a performance improvement for `bat -A`:

    | Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
    |:---|---:|---:|---:|---:|
    | `./bat-master --no-config -A ./bat-master` | 259.8 ± 1.1 | 258.4 | 261.7 | 1.15 ± 0.01 |
    | `./bat-2301 --no-config -A ./bat-master` | 225.6 ± 1.8 | 224.0 | 229.5 | 1.00 |
2 years ago
..
assets Fix clippy suggestions 2 years ago
bin/bat Fix clippy suggestions 2 years ago
syntax_mapping Support for ignored-suffix CLI arguments (#1892) 3 years ago
assets.rs Make the default macOS theme depend on Dark Mode (#2197) 2 years ago
config.rs Add various other code refactorings 3 years ago
controller.rs use io::Empty instead of crafted dummy stdin struct 3 years ago
decorations.rs Reduce public API 4 years ago
diff.rs Improve readability 3 years ago
error.rs Bump to syntect 5.0.0 to e.g. start lazy-loading syntaxes (#2181) 2 years ago
input.rs Run `cargo clippy --fix --all-targets --all-features` with Rust 1.60 2 years ago
less.rs Fix clippy suggestions 2 years ago
lib.rs Make `bat::PrettyPrinter::syntaxes()` iterate over new `bat::Syntax` struct (#2222) 2 years ago
line_range.rs Fix clippy suggestions 2 years ago
macros.rs Introduce bat_warning! helper macro 4 years ago
output.rs Add support for BusyBox less as pager (#2162) 2 years ago
pager.rs Prevent fork nightmare with PAGER=batcat (#2235) 2 years ago
paging.rs Fix clippy suggestions 2 years ago
preprocessor.rs Fix clippy suggestions 2 years ago
pretty_printer.rs Make `bat::PrettyPrinter::syntaxes()` iterate over new `bat::Syntax` struct (#2222) 2 years ago
printer.rs Remove code that tries to handle ANSI escape inputs (#2189) 2 years ago
style.rs Add a --style=default option (#2119) 2 years ago
syntax_mapping.rs Fix clippy suggestions 2 years ago
terminal.rs Add ansi theme to replace ansi-light and ansi-dark 4 years ago
wrapping.rs Addressed PR feedback. Upped min version and used matches! macro 3 years ago