Skip to content

Commit 3ee9f0d

Browse files
author
Jakub Bukaj
committed
Fix warnings
1 parent b22afe9 commit 3ee9f0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustdoc/stability_summary.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use std::num::Zero;
1919
use syntax::attr::{Deprecated, Experimental, Unstable, Stable, Frozen, Locked};
2020
use syntax::ast::Public;
2121

22-
use clean::{Crate, Item, ModuleItem, Module, StructItem, Struct, EnumItem, Enum};
22+
use clean::{Crate, Item, ModuleItem, Module, EnumItem, Enum};
2323
use clean::{ImplItem, Impl, Trait, TraitItem, TraitMethod, ProvidedMethod, RequiredMethod};
2424
use clean::{TypeTraitItem, ViewItemItem, PrimitiveItem, Stability};
2525

src/libstd/io/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,7 @@ mod tests {
11901190
Path::new("/dev/null")
11911191
};
11921192

1193-
let mut fdes = match fs::open(&path, Truncate, Write) {
1193+
let fdes = match fs::open(&path, Truncate, Write) {
11941194
Ok(f) => f,
11951195
Err(_) => panic!("failed to open file descriptor"),
11961196
};

0 commit comments

Comments
 (0)