aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-09-14 10:06:23 +0100
committerGitHub <[email protected]>2019-09-14 10:06:23 +0100
commit211171ffe6a4e8cbf31b9513972e59a8b9bdc811 (patch)
tree088b78c248b0a096ac71b361e288144e1d623b43 /crates/ra_ide_api
parent04789ef37b1d26017717a5eeacf0d706f2b14f1b (diff)
parent613863abb9f22aca9d3e4f0be3c1d033ab8b4a61 (diff)
Merge #1846
1846: Remove a dbg! r=flodiebold a=flodiebold Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_ide_api')
-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 };