fix warnings
This commit is contained in:
parent
5ec4773eb1
commit
c6717e0e75
20 changed files with 87 additions and 147 deletions
math/int2str/src
|
@ -1,7 +1,7 @@
|
|||
|
||||
use std::{
|
||||
fs::File,
|
||||
io::{Read, Write},
|
||||
io::{Read},
|
||||
os::unix::io::FromRawFd
|
||||
};
|
||||
|
||||
|
@ -32,7 +32,7 @@ fn main() {
|
|||
nested::magic_header();
|
||||
|
||||
let mut bytes = [0 as u8; 8];
|
||||
f0.read_exact(&mut bytes);
|
||||
f0.read_exact(&mut bytes).expect("");
|
||||
println!("{}", u64::from_le_bytes(bytes));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue