Skip to content

Commit 1753607

Browse files
committed
Suppress unused variable warnings in cargo
1 parent f82d101 commit 1753607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/cargo/cargo.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ fn configure() -> cargo {
147147
c
148148
}
149149

150-
fn install_one_crate(c: cargo, path: str, cf: str, p: pkg) {
150+
fn install_one_crate(c: cargo, _path: str, cf: str, _p: pkg) {
151151
let name = fs::basename(cf);
152152
let ri = str::index(name, '.' as u8);
153153
if ri != -1 {

0 commit comments

Comments
 (0)