Skip to content

Commit 6f9de84

Browse files
committed
fix unreachable-pub warning
1 parent 387ad78 commit 6f9de84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ide-assists/src/handlers/add_generic_parameter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ const _: () = {
959959
// I copied this from edit_in_place.rs::add_generic_param
960960
// I'm not sure why this didnt exist already
961961
// FIXME: add to crates/syntax/src/ast/edit_in_place.rs
962-
pub fn add_generic_arg(self_: ast::GenericArgList, generic_arg: ast::GenericArg) {
962+
fn add_generic_arg(self_: ast::GenericArgList, generic_arg: ast::GenericArg) {
963963
match self_.generic_args().last() {
964964
Some(last) => {
965965
let position = Position::after(last.syntax());

0 commit comments

Comments
 (0)