mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +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
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue