mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-18 17:40:29 +00:00
Fix formatting
This commit is contained in:
parent
2bfaffbf82
commit
f69225c4fa
1 changed files with 6 additions and 6 deletions
|
@ -42,19 +42,19 @@ pub fn read_dylib_info(dylib_path: &AbsPath) -> io::Result<RustCInfo> {
|
|||
Some(commit) => {
|
||||
match commit.len() {
|
||||
0 => None,
|
||||
_ => Some(commit[1..].to_string() /* remove ( */)
|
||||
_ => Some(commit[1..].to_string() /* remove ( */),
|
||||
}
|
||||
},
|
||||
None => None
|
||||
}
|
||||
None => None,
|
||||
};
|
||||
let date = match items.next() {
|
||||
Some(date) => {
|
||||
match date.len() {
|
||||
0 => None,
|
||||
_ => Some(date[0..date.len() - 2].to_string() /* remove ) */)
|
||||
_ => Some(date[0..date.len() - 2].to_string() /* remove ) */),
|
||||
}
|
||||
},
|
||||
None => None
|
||||
}
|
||||
None => None,
|
||||
};
|
||||
|
||||
let version_numbers = version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue