Fix warnings
This commit is contained in:
parent
b22afe9ee7
commit
3ee9f0df54
@ -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};
|
||||
|
||||
|
@ -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"),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user