Skip to content

Commit c4b32d1

Browse files
Fix the extension method
1 parent 89e1f97 commit c4b32d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ra_syntax/src/ast/extensions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ impl ast::TokenTree {
467467

468468
pub fn right_delimiter_token(&self) -> Option<SyntaxToken> {
469469
self.syntax().last_child_or_token()?.into_token().filter(|it| match it.kind() {
470-
T!['{'] | T!['('] | T!['['] => true,
470+
T!['}'] | T![')'] | T![']'] => true,
471471
_ => false,
472472
})
473473
}

0 commit comments

Comments
 (0)