From efeae82f5221d2fdeeeed0bc67a2234647e160dd Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 25 Sep 2019 15:58:40 +0300 Subject: clean up naming --- crates/ra_ide_api/src/diagnostics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_ide_api') 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 let mut ast_editor = AstEditor::new(node); for f in d.missed_fields.iter() { let field = Make::::from( - Make::::new(&f.to_string()), + Make::::from(&f.to_string()), Some(Make::::unit()), ); ast_editor.append_field(&field); -- cgit v1.2.3