fix warnings

This commit is contained in:
Michael Sippel 2021-05-13 16:22:30 +02:00
parent 5ec4773eb1
commit c6717e0e75
Signed by: senvas
GPG key ID: F96CF119C34B64A6
20 changed files with 87 additions and 147 deletions
math/int2str/src

View file

@ -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));
}