cargo fmt
This commit is contained in:
parent
725c20e8c5
commit
da104bb0f5
@ -88,7 +88,7 @@ pub fn is_self(&self) -> bool {
|
||||
/// If this path is a single identifier, like `foo`, return its name.
|
||||
pub fn as_ident(&self) -> Option<&Name> {
|
||||
if !self.is_ident() {
|
||||
return None
|
||||
return None;
|
||||
}
|
||||
self.segments.first()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user