mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Make with_ancestor_maps
public
This commit is contained in:
parent
27f77060e2
commit
b9c213da7a
@ -316,7 +316,7 @@ impl DefMap {
|
|||||||
///
|
///
|
||||||
/// If `f` returns `Some(val)`, iteration is stopped and `Some(val)` is returned. If `f` returns
|
/// If `f` returns `Some(val)`, iteration is stopped and `Some(val)` is returned. If `f` returns
|
||||||
/// `None`, iteration continues.
|
/// `None`, iteration continues.
|
||||||
fn with_ancestor_maps<T>(
|
pub fn with_ancestor_maps<T>(
|
||||||
&self,
|
&self,
|
||||||
db: &dyn DefDatabase,
|
db: &dyn DefDatabase,
|
||||||
local_mod: LocalModuleId,
|
local_mod: LocalModuleId,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user