mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Apply review suggestions
This commit is contained in:
parent
15fc643e05
commit
4496e2a06a
9 changed files with 35 additions and 47 deletions
|
@ -228,7 +228,9 @@ impl Module {
|
|||
Module::new(self.krate(), module_id)
|
||||
}
|
||||
|
||||
pub fn find_path(
|
||||
/// Finds a path that can be used to refer to the given item from within
|
||||
/// this module, if possible.
|
||||
pub fn find_use_path(
|
||||
self,
|
||||
db: &impl DefDatabase,
|
||||
item: ModuleDef,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue