aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/complete_path.rs
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2019-09-14 10:05:42 +0100
committerFlorian Diebold <[email protected]>2019-09-14 10:05:42 +0100
commit613863abb9f22aca9d3e4f0be3c1d033ab8b4a61 (patch)
tree088b78c248b0a096ac71b361e288144e1d623b43 /crates/ra_ide_api/src/completion/complete_path.rs
parent04789ef37b1d26017717a5eeacf0d706f2b14f1b (diff)
Remove a dbg!
Diffstat (limited to 'crates/ra_ide_api/src/completion/complete_path.rs')
-rw-r--r--crates/ra_ide_api/src/completion/complete_path.rs2
1 files changed, 1 insertions, 1 deletions
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) {
9 Some(path) => path.clone(), 9 Some(path) => path.clone(),
10 _ => return, 10 _ => return,
11 }; 11 };
12 let def = match dbg!(ctx.analyzer.resolve_hir_path(ctx.db, &path)) { 12 let def = match ctx.analyzer.resolve_hir_path(ctx.db, &path) {
13 Some(PathResolution::Def(def)) => def, 13 Some(PathResolution::Def(def)) => def,
14 _ => return, 14 _ => return,
15 }; 15 };