Skip to content

Commit f69225c

Browse files
committed
Fix formatting
1 parent 2bfaffb commit f69225c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

crates/proc_macro_api/src/version.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,19 @@ pub fn read_dylib_info(dylib_path: &AbsPath) -> io::Result<RustCInfo> {
4242
Some(commit) => {
4343
match commit.len() {
4444
0 => None,
45-
_ => Some(commit[1..].to_string() /* remove ( */)
45+
_ => Some(commit[1..].to_string() /* remove ( */),
4646
}
47-
},
48-
None => None
47+
}
48+
None => None,
4949
};
5050
let date = match items.next() {
5151
Some(date) => {
5252
match date.len() {
5353
0 => None,
54-
_ => Some(date[0..date.len() - 2].to_string() /* remove ) */)
54+
_ => Some(date[0..date.len() - 2].to_string() /* remove ) */),
5555
}
56-
},
57-
None => None
56+
}
57+
None => None,
5858
};
5959

6060
let version_numbers = version

0 commit comments

Comments
 (0)