Fix warnings

This commit is contained in:
Jakub Bukaj 2014-11-16 10:37:31 +01:00
parent b22afe9ee7
commit 3ee9f0df54
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ use std::num::Zero;
use syntax::attr::{Deprecated, Experimental, Unstable, Stable, Frozen, Locked};
use syntax::ast::Public;
use clean::{Crate, Item, ModuleItem, Module, StructItem, Struct, EnumItem, Enum};
use clean::{Crate, Item, ModuleItem, Module, EnumItem, Enum};
use clean::{ImplItem, Impl, Trait, TraitItem, TraitMethod, ProvidedMethod, RequiredMethod};
use clean::{TypeTraitItem, ViewItemItem, PrimitiveItem, Stability};

View File

@ -1190,7 +1190,7 @@ mod tests {
Path::new("/dev/null")
};
let mut fdes = match fs::open(&path, Truncate, Write) {
let fdes = match fs::open(&path, Truncate, Write) {
Ok(f) => f,
Err(_) => panic!("failed to open file descriptor"),
};