aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api_light/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-01-25 21:24:12 +0000
committerAleksey Kladov <[email protected]>2019-01-25 21:24:12 +0000
commit23172a116c3cc4ca9a692dfdd05051d1a4aee2b2 (patch)
treeb6d0912779ecb18ec278339d8a40303e172647be /crates/ra_ide_api_light/src
parent3c7acecade09e1234ac7b1d1ed2f22edbc543f64 (diff)
rename POS_FIELD -> POS_FIELD_DEF
to match NAMED_FIELD_DEF
Diffstat (limited to 'crates/ra_ide_api_light/src')
-rw-r--r--crates/ra_ide_api_light/src/extend_selection.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide_api_light/src/extend_selection.rs b/crates/ra_ide_api_light/src/extend_selection.rs
index db93db208..f396dfe3f 100644
--- a/crates/ra_ide_api_light/src/extend_selection.rs
+++ b/crates/ra_ide_api_light/src/extend_selection.rs
@@ -9,9 +9,9 @@ pub fn extend_selection(root: &SyntaxNode, range: TextRange) -> Option<TextRange
9 let list_kinds = [ 9 let list_kinds = [
10 FIELD_PAT_LIST, 10 FIELD_PAT_LIST,
11 MATCH_ARM_LIST, 11 MATCH_ARM_LIST,
12 NAMED_FIELD_LIST,
13 NAMED_FIELD_DEF_LIST, 12 NAMED_FIELD_DEF_LIST,
14 POS_FIELD_LIST, 13 POS_FIELD_DEF_LIST,
14 NAMED_FIELD_LIST,
15 ENUM_VARIANT_LIST, 15 ENUM_VARIANT_LIST,
16 USE_TREE_LIST, 16 USE_TREE_LIST,
17 TYPE_PARAM_LIST, 17 TYPE_PARAM_LIST,