mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-11-23 21:54:45 +02:00
@@ -104,7 +104,7 @@ struct ArgsImp {
|
||||
///
|
||||
/// It's important that this is only built once, since building this goes
|
||||
/// through regex compilation and various types of analyses. That is, if
|
||||
/// you need many of theses (one per thread, for example), it is better to
|
||||
/// you need many of these (one per thread, for example), it is better to
|
||||
/// build it once and then clone it.
|
||||
matcher: PatternMatcher,
|
||||
/// The paths provided at the command line. This is guaranteed to be
|
||||
|
||||
@@ -67,7 +67,7 @@ impl SubjectBuilder {
|
||||
if subj.is_file() {
|
||||
return Some(subj);
|
||||
}
|
||||
// We got nothin. Emit a debug message, but only if this isn't a
|
||||
// We got nothing. Emit a debug message, but only if this isn't a
|
||||
// directory. Otherwise, emitting messages for directories is just
|
||||
// noisy.
|
||||
if !subj.is_dir() {
|
||||
|
||||
Reference in New Issue
Block a user