From 613863abb9f22aca9d3e4f0be3c1d033ab8b4a61 Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Sat, 14 Sep 2019 11:05:42 +0200 Subject: Remove a dbg! --- crates/ra_ide_api/src/completion/complete_path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_ide_api/src') diff --git a/crates/ra_ide_api/src/completion/complete_path.rs b/crates/ra_ide_api/src/completion/complete_path.rs index 5ee2864dc..e1c8d6ab0 100644 --- a/crates/ra_ide_api/src/completion/complete_path.rs +++ b/crates/ra_ide_api/src/completion/complete_path.rs @@ -9,7 +9,7 @@ pub(super) fn complete_path(acc: &mut Completions, ctx: &CompletionContext) { Some(path) => path.clone(), _ => return, }; - let def = match dbg!(ctx.analyzer.resolve_hir_path(ctx.db, &path)) { + let def = match ctx.analyzer.resolve_hir_path(ctx.db, &path) { Some(PathResolution::Def(def)) => def, _ => return, }; -- cgit v1.2.3