aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir
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_hir
parent3c7acecade09e1234ac7b1d1ed2f22edbc543f64 (diff)
rename POS_FIELD -> POS_FIELD_DEF
to match NAMED_FIELD_DEF
Diffstat (limited to 'crates/ra_hir')
-rw-r--r--crates/ra_hir/src/code_model_api.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/code_model_api.rs b/crates/ra_hir/src/code_model_api.rs
index 41bac05c6..191104890 100644
--- a/crates/ra_hir/src/code_model_api.rs
+++ b/crates/ra_hir/src/code_model_api.rs
@@ -193,7 +193,7 @@ pub struct StructField {
193#[derive(Debug)] 193#[derive(Debug)]
194pub enum FieldSource { 194pub enum FieldSource {
195 Named(TreeArc<ast::NamedFieldDef>), 195 Named(TreeArc<ast::NamedFieldDef>),
196 Pos(TreeArc<ast::PosField>), 196 Pos(TreeArc<ast::PosFieldDef>),
197} 197}
198 198
199impl StructField { 199impl StructField {