mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 21:43:37 +00:00
Cargo fmt
This commit is contained in:
parent
bc81d582c9
commit
853f047245
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ pub fn read_version(dylib_path: &AbsPath) -> io::Result<String> {
|
|||
let len_bytes = &dot_rustc[8..12];
|
||||
let data_len = u32::from_be_bytes(len_bytes.try_into().unwrap()) as usize;
|
||||
&dot_rustc[12..data_len + 12]
|
||||
},
|
||||
}
|
||||
_ => {
|
||||
return Err(io::Error::new(
|
||||
io::ErrorKind::InvalidData,
|
||||
|
|
Loading…
Reference in a new issue