Skip to content

Commit da104bb

Browse files
committed
cargo fmt
1 parent 725c20e commit da104bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hir_def/src/path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ impl ModPath {
8888
/// If this path is a single identifier, like `foo`, return its name.
8989
pub fn as_ident(&self) -> Option<&Name> {
9090
if !self.is_ident() {
91-
return None
91+
return None;
9292
}
9393
self.segments.first()
9494
}

0 commit comments

Comments
 (0)