edition: move core ripgrep to Rust 2018

This commit is contained in:
Andrew Gallant
2019-01-19 10:15:56 -05:00
parent 1e9ee2cc85
commit 7a6a40bae1
15 changed files with 40 additions and 48 deletions

View File

@@ -1,6 +1,7 @@
use std::path::Path;
use ignore::{self, DirEntry};
use log;
/// A configuration for describing how subjects should be built.
#[derive(Clone, Debug)]
@@ -79,7 +80,7 @@ impl SubjectBuilder {
// directory. Otherwise, emitting messages for directories is just
// noisy.
if !subj.is_dir() {
debug!(
log::debug!(
"ignoring {}: failed to pass subject filter: \
file type: {:?}, metadata: {:?}",
subj.dent.path().display(),