Skip to content

Commit 500cdd7

Browse files
committed
clippy: useless use of format!
1 parent 5c4804f commit 500cdd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/backend/src/ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ impl Function {
216216

217217
impl Export {
218218
pub(crate) fn rust_symbol(&self) -> Ident {
219-
let mut generated_name = format!("__wasm_bindgen_generated");
219+
let mut generated_name = String::from("__wasm_bindgen_generated");
220220
if let Some(class) = &self.class {
221221
generated_name.push_str("_");
222222
generated_name.push_str(&class.to_string());

0 commit comments

Comments
 (0)