diff options
author | Edwin Cheng <[email protected]> | 2019-12-01 04:17:52 +0000 |
---|---|---|
committer | Edwin Cheng <[email protected]> | 2019-12-01 04:17:52 +0000 |
commit | cfc6e9e36646aa3b961018be875a7c3474aa7577 (patch) | |
tree | 3c4b658852e70e3adf1aec38f50e3f11c05bf6e8 /crates/ra_hir_def | |
parent | 13c54685ffbc153d4d675f13222dfb02b0f30926 (diff) |
Remove some empty lines
Diffstat (limited to 'crates/ra_hir_def')
-rw-r--r-- | crates/ra_hir_def/src/nameres/path_resolution.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crates/ra_hir_def/src/nameres/path_resolution.rs b/crates/ra_hir_def/src/nameres/path_resolution.rs index 19d57baae..42a75226b 100644 --- a/crates/ra_hir_def/src/nameres/path_resolution.rs +++ b/crates/ra_hir_def/src/nameres/path_resolution.rs | |||
@@ -80,7 +80,6 @@ impl CrateDefMap { | |||
80 | }; | 80 | }; |
81 | 81 | ||
82 | let mut segments = path.segments.iter().enumerate(); | 82 | let mut segments = path.segments.iter().enumerate(); |
83 | |||
84 | let mut curr_per_ns: PerNs = match path.kind { | 83 | let mut curr_per_ns: PerNs = match path.kind { |
85 | PathKind::DollarCrate(krate) => { | 84 | PathKind::DollarCrate(krate) => { |
86 | if krate == self.krate { | 85 | if krate == self.krate { |
@@ -112,7 +111,6 @@ impl CrateDefMap { | |||
112 | None => return ResolvePathResult::empty(ReachedFixedPoint::Yes), | 111 | None => return ResolvePathResult::empty(ReachedFixedPoint::Yes), |
113 | }; | 112 | }; |
114 | log::debug!("resolving {:?} in crate root (+ extern prelude)", segment); | 113 | log::debug!("resolving {:?} in crate root (+ extern prelude)", segment); |
115 | |||
116 | self.resolve_name_in_crate_root_or_extern_prelude(&segment.name, prefer_module(idx)) | 114 | self.resolve_name_in_crate_root_or_extern_prelude(&segment.name, prefer_module(idx)) |
117 | } | 115 | } |
118 | PathKind::Plain => { | 116 | PathKind::Plain => { |