Suppress unused variable warnings in cargo
This commit is contained in:
parent
f82d101511
commit
1753607f6a
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ fn configure() -> cargo {
|
|||
c
|
||||
}
|
||||
|
||||
fn install_one_crate(c: cargo, path: str, cf: str, p: pkg) {
|
||||
fn install_one_crate(c: cargo, _path: str, cf: str, _p: pkg) {
|
||||
let name = fs::basename(cf);
|
||||
let ri = str::index(name, '.' as u8);
|
||||
if ri != -1 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue