Skip to content
Myr

Run cargo fmt

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by sharkdp · committed by sharkdp · parent f2fec45 · Browse files · 2 files+6 added−7 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+6 added−7 removed

  • other:+6 added−7 removed

2 files+6 added−7 removed

modified:src/filter/size.rs+1 added-1 removed
52 unmodified lines
53 match limit_kind {54 "+" => Some(SizeFilter::Min(size)),55 "-" => Some(SizeFilter::Max(size)),56 "" => Some(SizeFilter::Equals(size)),57 _ => None57 _ => None,58 }59 }6061 pub fn is_within(&self, size: u64) -> bool {
151 unmodified lines
modified:src/app.rs+5 added-6 removed
1use clap::{crate_version, App, AppSettings, Arg};23pub fn build_app() -> App<'static, 'static> {4 let clap_color_setting =5 if std::env::var_os("NO_COLOR").is_none() {6 AppSettings::ColoredHelp7 } else {8 AppSettings::ColorNever9 };4 let clap_color_setting = if std::env::var_os("NO_COLOR").is_none() {5 AppSettings::ColoredHelp6 } else {7 AppSettings::ColorNever8 };910 let mut app = App::new("fd")11 .version(crate_version!())12 .usage("fd [FLAGS/OPTIONS] [<pattern>] [<path>...]")
576 unmodified lines