Eliminate redundant uses of format!.
https://github.com/rust-lang-nursery/rust-clippy/wiki#useless_format
This commit is contained in:
@@ -254,7 +254,7 @@ pub fn translate_module(
|
||||
.collect()
|
||||
}
|
||||
ParserState::EndSection => break,
|
||||
_ => return Err(String::from(format!("wrong content in code section"))),
|
||||
_ => return Err(String::from("wrong content in code section")),
|
||||
};
|
||||
let signature = signatures[functions[function_index as usize] as usize].clone();
|
||||
match translate_function_body(
|
||||
|
||||
Reference in New Issue
Block a user