mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-15 05:26:47 +00:00
Merge pull request #565 from takkanm/fix_unused_variable_path_warning
fix unused variable `path` warning
This commit is contained in:
commit
0d0606c3c0
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user