diff options
author | Pascal Hertleif <[email protected]> | 2019-02-11 16:18:27 +0000 |
---|---|---|
committer | Pascal Hertleif <[email protected]> | 2019-02-12 14:02:57 +0000 |
commit | 4fd361343449bcdf7af4642851dc5dbf772f1a68 (patch) | |
tree | eacf6870c6fab537d787bc2764901028ce595f0a /crates/ra_hir/src/path.rs | |
parent | a36e310229f13d6959d6ce95c99b659700cefc9a (diff) |
Fix some typos
Diffstat (limited to 'crates/ra_hir/src/path.rs')
-rw-r--r-- | crates/ra_hir/src/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/path.rs b/crates/ra_hir/src/path.rs index 6a24c8aa7..8ed54607a 100644 --- a/crates/ra_hir/src/path.rs +++ b/crates/ra_hir/src/path.rs | |||
@@ -97,7 +97,7 @@ impl Path { | |||
97 | return Some(q); | 97 | return Some(q); |
98 | } | 98 | } |
99 | // TODO: this bottom up traversal is not too precise. | 99 | // TODO: this bottom up traversal is not too precise. |
100 | // Should we handle do a top-down analysiss, recording results? | 100 | // Should we handle do a top-down analysis, recording results? |
101 | let use_tree_list = path.syntax().ancestors().find_map(ast::UseTreeList::cast)?; | 101 | let use_tree_list = path.syntax().ancestors().find_map(ast::UseTreeList::cast)?; |
102 | let use_tree = use_tree_list.parent_use_tree(); | 102 | let use_tree = use_tree_list.parent_use_tree(); |
103 | use_tree.path() | 103 | use_tree.path() |