We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bfaffb commit f69225cCopy full SHA for f69225c
crates/proc_macro_api/src/version.rs
@@ -42,19 +42,19 @@ pub fn read_dylib_info(dylib_path: &AbsPath) -> io::Result<RustCInfo> {
42
Some(commit) => {
43
match commit.len() {
44
0 => None,
45
- _ => Some(commit[1..].to_string() /* remove ( */)
+ _ => Some(commit[1..].to_string() /* remove ( */),
46
}
47
- },
48
- None => None
+ }
+ None => None,
49
};
50
let date = match items.next() {
51
Some(date) => {
52
match date.len() {
53
54
- _ => Some(date[0..date.len() - 2].to_string() /* remove ) */)
+ _ => Some(date[0..date.len() - 2].to_string() /* remove ) */),
55
56
57
58
59
60
let version_numbers = version
0 commit comments