diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/hir_def/src/nameres.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_def/src/nameres.rs b/crates/hir_def/src/nameres.rs index ad2e9bcac..34ff07f3c 100644 --- a/crates/hir_def/src/nameres.rs +++ b/crates/hir_def/src/nameres.rs | |||
@@ -316,7 +316,7 @@ impl DefMap { | |||
316 | /// | 316 | /// |
317 | /// If `f` returns `Some(val)`, iteration is stopped and `Some(val)` is returned. If `f` returns | 317 | /// If `f` returns `Some(val)`, iteration is stopped and `Some(val)` is returned. If `f` returns |
318 | /// `None`, iteration continues. | 318 | /// `None`, iteration continues. |
319 | fn with_ancestor_maps<T>( | 319 | pub fn with_ancestor_maps<T>( |
320 | &self, | 320 | &self, |
321 | db: &dyn DefDatabase, | 321 | db: &dyn DefDatabase, |
322 | local_mod: LocalModuleId, | 322 | local_mod: LocalModuleId, |