aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-09-25 13:58:40 +0100
committerAleksey Kladov <[email protected]>2019-09-25 13:58:40 +0100
commitefeae82f5221d2fdeeeed0bc67a2234647e160dd (patch)
treea836a030fb899cfcff96e08fa37420560a160133 /crates/ra_ide_api
parent98639d835c7d37724b67f1ebd30c99bc2c3d8478 (diff)
clean up naming
Diffstat (limited to 'crates/ra_ide_api')
-rw-r--r--crates/ra_ide_api/src/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/diagnostics.rs b/crates/ra_ide_api/src/diagnostics.rs
index 836e15a4b..f07061e99 100644
--- a/crates/ra_ide_api/src/diagnostics.rs
+++ b/crates/ra_ide_api/src/diagnostics.rs
@@ -60,7 +60,7 @@ pub(crate) fn diagnostics(db: &RootDatabase, file_id: FileId) -> Vec<Diagnostic>
60 let mut ast_editor = AstEditor::new(node); 60 let mut ast_editor = AstEditor::new(node);
61 for f in d.missed_fields.iter() { 61 for f in d.missed_fields.iter() {
62 let field = Make::<ast::RecordField>::from( 62 let field = Make::<ast::RecordField>::from(
63 Make::<ast::NameRef>::new(&f.to_string()), 63 Make::<ast::NameRef>::from(&f.to_string()),
64 Some(Make::<ast::Expr>::unit()), 64 Some(Make::<ast::Expr>::unit()),
65 ); 65 );
66 ast_editor.append_field(&field); 66 ast_editor.append_field(&field);