2622: Simplify r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2019-12-20 19:17:28 +00:00 committed by GitHub
commit 825afb0854
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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<'_> {