Remove unnecessary () values.
This commit is contained in:
@@ -72,7 +72,6 @@ impl<Variable> BlockData<Variable> {
|
||||
&mut BlockData::EbbBody { .. } => panic!("you can't add a predecessor to a body block"),
|
||||
&mut BlockData::EbbHeader(ref mut data) => {
|
||||
data.predecessors.insert(pred, inst);
|
||||
()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -139,7 +139,6 @@ pub fn parse_export_section(parser: &mut Parser)
|
||||
&ExternalKind::Function => {
|
||||
exports.insert(index as FunctionIndex,
|
||||
String::from(from_utf8(field).unwrap()));
|
||||
()
|
||||
}
|
||||
_ => (),//TODO: deal with other kind of exports
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user