Merge pull request #565 from takkanm/fix_unused_variable_path_warning

fix unused variable `path` warning
This commit is contained in:
Nick Cameron 2015-11-04 18:37:27 -05:00
commit 0d0606c3c0

View File

@ -94,7 +94,7 @@ fn execute() -> i32 {
Operation::Stdin(input, write_mode) => {
// try to read config from local directory
let config = match lookup_and_read_project_file(&Path::new(".")) {
Ok((path, toml)) => {
Ok((_, toml)) => {
Config::from_toml(&toml)
}
Err(_) => Default::default(),