Cargo fmt

This commit is contained in:
Rune Tynan 2023-02-14 14:45:05 -05:00
parent bc81d582c9
commit 853f047245
No known key found for this signature in database
GPG key ID: 7ECC932F8B2C731E

View file

@ -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,