diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-16 17:08:03 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-16 17:08:03 +0000 |
commit | 067067a6c11bb5afda98f5af14bfdec4744e7812 (patch) | |
tree | 1c0b6c4c78ee040ebdf818dada804fce311382a6 /crates/ide | |
parent | 63bbdb31e5148c804bbf940963c9c8f3481ad258 (diff) | |
parent | dd496223f50232fe98312ee8edc89eb4b5ee3d85 (diff) |
Merge #6896
6896: Node-ify lifetimes r=jonas-schievink a=Veykril
Let's see if this passes the tests 🤞
Depends on https://github.com/rust-analyzer/ungrammar/pull/15
Co-authored-by: Jonas Schievink <[email protected]>
Co-authored-by: Jonas Schievink <[email protected]>
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/ide')
-rw-r--r-- | crates/ide/src/extend_selection.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/extend_selection.rs b/crates/ide/src/extend_selection.rs index 0971f7701..6f3022dfd 100644 --- a/crates/ide/src/extend_selection.rs +++ b/crates/ide/src/extend_selection.rs | |||
@@ -237,7 +237,7 @@ fn pick_best(l: SyntaxToken, r: SyntaxToken) -> SyntaxToken { | |||
237 | fn priority(n: &SyntaxToken) -> usize { | 237 | fn priority(n: &SyntaxToken) -> usize { |
238 | match n.kind() { | 238 | match n.kind() { |
239 | WHITESPACE => 0, | 239 | WHITESPACE => 0, |
240 | IDENT | T![self] | T![super] | T![crate] | LIFETIME => 2, | 240 | IDENT | T![self] | T![super] | T![crate] | LIFETIME_IDENT => 2, |
241 | _ => 1, | 241 | _ => 1, |
242 | } | 242 | } |
243 | } | 243 | } |