use push(char) instead of push_str(&str) to add single chars to strings
clippy::single-char-push-str
This commit is contained in:
@@ -514,7 +514,7 @@ fn write_scope_tree(
|
||||
write!(indented_decl, " as {:?}", user_ty).unwrap();
|
||||
}
|
||||
}
|
||||
indented_decl.push_str(";");
|
||||
indented_decl.push(';');
|
||||
|
||||
let local_name =
|
||||
if local == RETURN_PLACE { " return place".to_string() } else { String::new() };
|
||||
|
||||
Reference in New Issue
Block a user