mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
fix: correct token type for closing angle bracket
Signed-off-by: Tarek <tareknaser360@gmail.com>
This commit is contained in:
parent
70ef2f23c2
commit
5aaffe6dc9
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user