Unnamed repository; edit this file 'description' to name the repository.
fix: correct token type for closing angle bracket
Signed-off-by: Tarek <[email protected]>
Tarek 2024-12-04
parent 70ef2f2 · commit 5aaffe6
-rw-r--r--crates/syntax/src/ast/edit_in_place.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/syntax/src/ast/edit_in_place.rs b/crates/syntax/src/ast/edit_in_place.rs
index 22afb8297b..dcaeed4007 100644
--- a/crates/syntax/src/ast/edit_in_place.rs
+++ b/crates/syntax/src/ast/edit_in_place.rs
@@ -121,7 +121,7 @@ impl ast::Fn {
let elements = vec![
make::token(SyntaxKind::L_ANGLE).into(),
new_param.syntax().clone().into(),
- make::token(T![>]).into(),
+ make::token(SyntaxKind::R_ANGLE).into(),
];
editor.insert_all(position, elements);
}