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

@@ -9,7 +9,9 @@ use std::io::{self, BufRead};
use std::ffi::OsString;
use std::path::{Path, PathBuf};
use Result;
use log;
use crate::Result;
/// Return a sequence of arguments derived from ripgrep rc configuration files.
pub fn args() -> Vec<OsString> {
@@ -34,7 +36,7 @@ pub fn args() -> Vec<OsString> {
message!("{}:{}", config_path.display(), err);
}
}
debug!(
log::debug!(
"{}: arguments loaded from config file: {:?}",
config_path.display(),
args