From 0aece75cdd40daa4d48484103cfcd36ba13ba076 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 11 Apr 2020 19:25:33 +0200 Subject: Remove dead code --- crates/ra_syntax/src/ast/extensions.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'crates/ra_syntax/src/ast') diff --git a/crates/ra_syntax/src/ast/extensions.rs b/crates/ra_syntax/src/ast/extensions.rs index 7dc024991..63e272fbf 100644 --- a/crates/ra_syntax/src/ast/extensions.rs +++ b/crates/ra_syntax/src/ast/extensions.rs @@ -189,8 +189,6 @@ impl ast::StructDef { impl ast::RecordField { pub fn for_field_name(field_name: &ast::NameRef) -> Option { - eprintln!("field_name = {}", field_name); - dbg!(field_name.syntax().ancestors().nth(6)); let candidate = field_name.syntax().parent().and_then(ast::RecordField::cast).or_else(|| { field_name.syntax().ancestors().nth(4).and_then(ast::RecordField::cast) -- cgit v1.2.3