We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 387ad78 commit 6f9de84Copy full SHA for 6f9de84
crates/ide-assists/src/handlers/add_generic_parameter.rs
@@ -959,7 +959,7 @@ const _: () = {
959
// I copied this from edit_in_place.rs::add_generic_param
960
// I'm not sure why this didnt exist already
961
// FIXME: add to crates/syntax/src/ast/edit_in_place.rs
962
-pub fn add_generic_arg(self_: ast::GenericArgList, generic_arg: ast::GenericArg) {
+fn add_generic_arg(self_: ast::GenericArgList, generic_arg: ast::GenericArg) {
963
match self_.generic_args().last() {
964
Some(last) => {
965
let position = Position::after(last.syntax());
0 commit comments