Complete crate:: paths

This commit is contained in:
Aleksey Kladov 2018-10-24 18:37:25 +03:00
parent 9a7db8fa00
commit 69d07df201
10 changed files with 152 additions and 21 deletions

View file

@ -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