mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Complete crate:: paths
This commit is contained in:
parent
9a7db8fa00
commit
69d07df201
10 changed files with 152 additions and 21 deletions
|
@ -1371,6 +1371,10 @@ impl<'a> Path<'a> {
|
|||
pub fn segment(self) -> Option<PathSegment<'a>> {
|
||||
super::child_opt(self)
|
||||
}
|
||||
|
||||
pub fn qualifier(self) -> Option<Path<'a>> {
|
||||
super::child_opt(self)
|
||||
}
|
||||
}
|
||||
|
||||
// PathExpr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue