Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Sep 2, 2017
1 parent ebb7dad commit c9e58aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion tests/all.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ fn extracting_malicious_tarball() {
assert!(header.set_path(path).is_err(),
"was ok: {:?}", path);
{
let mut h = header.as_gnu_mut().unwrap();
let h = header.as_gnu_mut().unwrap();
for (a, b) in h.name.iter_mut().zip(path.as_bytes()) {
*a = *b;
}
Expand Down
1 change: 0 additions & 1 deletion tests/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ extern crate tempdir;
use std::fs::File;

use tempdir::TempDir;
use std::path::PathBuf;

macro_rules! t {
($e:expr) => (match $e {
Expand Down

0 comments on commit c9e58aa

Please sign in to comment.