fix: correct token type for closing angle bracket

Signed-off-by: Tarek <tareknaser360@gmail.com>
This commit is contained in:
Tarek 2024-12-03 23:57:11 +02:00
parent 70ef2f23c2
commit 5aaffe6dc9

View file

@ -121,7 +121,7 @@ impl ast::Fn {
let elements = vec![ let elements = vec![
make::token(SyntaxKind::L_ANGLE).into(), make::token(SyntaxKind::L_ANGLE).into(),
new_param.syntax().clone().into(), new_param.syntax().clone().into(),
make::token(T![>]).into(), make::token(SyntaxKind::R_ANGLE).into(),
]; ];
editor.insert_all(position, elements); editor.insert_all(position, elements);
} }