This commit is contained in:
Aleksey Kladov 2019-12-20 20:15:54 +01:00
parent 02f9e04ee9
commit f5947be0ea

View file

@ -135,7 +135,7 @@ impl Path {
}
pub fn type_anchor(&self) -> Option<&TypeRef> {
self.type_anchor.as_ref().map(|it| &**it)
self.type_anchor.as_deref()
}
pub fn segments(&self) -> PathSegments<'_> {