Clippy fixes (#692)

This commit is contained in:
XAMPPRocky
2019-12-24 20:50:07 +00:00
committed by Dan Gohman
parent 6c97cfed1e
commit 907e7aac01
35 changed files with 390 additions and 417 deletions

View File

@@ -175,14 +175,14 @@ impl Compiler {
};
let bytes = emit_debugsections_image(
self.isa.triple().clone(),
&target_config,
target_config,
&debug_data,
&module_vmctx_info,
&address_transform,
&value_ranges,
&funcs,
)
.map_err(|e| SetupError::DebugInfo(e))?;
.map_err(SetupError::DebugInfo)?;
Some(bytes)
} else {
None