diff options
author | Aleksey Kladov <[email protected]> | 2019-11-22 18:52:06 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-11-22 18:52:06 +0000 |
commit | d8caf56dfc9eb3cdddff05b58b954a78cf1b9476 (patch) | |
tree | 0accd61a43762a6a34ae046ef6e23c3f7a930910 /crates/ra_hir/src | |
parent | 4d49b5d174430feede9833c5e66c39ee41b5fa3e (diff) |
Uniformalize naming
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r-- | crates/ra_hir/src/code_model/src.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/code_model/src.rs b/crates/ra_hir/src/code_model/src.rs index 4aa427de4..fc466c1f0 100644 --- a/crates/ra_hir/src/code_model/src.rs +++ b/crates/ra_hir/src/code_model/src.rs | |||
@@ -63,7 +63,7 @@ impl HasSource for StructField { | |||
63 | 63 | ||
64 | let field_sources = match struct_kind { | 64 | let field_sources = match struct_kind { |
65 | ast::StructKind::Tuple(fl) => fl.fields().map(|it| FieldSource::Pos(it)).collect(), | 65 | ast::StructKind::Tuple(fl) => fl.fields().map(|it| FieldSource::Pos(it)).collect(), |
66 | ast::StructKind::Named(fl) => fl.fields().map(|it| FieldSource::Named(it)).collect(), | 66 | ast::StructKind::Record(fl) => fl.fields().map(|it| FieldSource::Named(it)).collect(), |
67 | ast::StructKind::Unit => Vec::new(), | 67 | ast::StructKind::Unit => Vec::new(), |
68 | }; | 68 | }; |
69 | let value = field_sources | 69 | let value = field_sources |