Avoid redundant '@ _' in match patterns.
https://github.com/rust-lang-nursery/rust-clippy/wiki#redundant_pattern
This commit is contained in:
@@ -68,7 +68,7 @@ pub fn translate_module(
|
||||
ParserState::Error(BinaryReaderError { message, offset }) => {
|
||||
return Err(format!("at offset {}: {}", offset, message));
|
||||
}
|
||||
ref s @ _ => panic!("modules should begin properly: {:?}", s),
|
||||
ref s => panic!("modules should begin properly: {:?}", s),
|
||||
}
|
||||
let mut signatures = None;
|
||||
let mut functions: Option<Vec<SignatureIndex>> = None;
|
||||
|
||||
Reference in New Issue
Block a user