fixed warnings
This commit is contained in:
parent
50fe259b57
commit
f3201c7758
|
@ -1,3 +1,4 @@
|
|||
#![allow(dead_code)]
|
||||
/**
|
||||
* Pythons bit operations are trash, so I made a rust lib for that.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use std::{str::FromStr, array};
|
||||
#![allow(dead_code)]
|
||||
|
||||
use num_bigint::{BigInt, BigUint};
|
||||
use num_bigint::BigInt;
|
||||
|
||||
/// works, but is forbidden for class
|
||||
pub fn calc_exp_in_field_lib(
|
||||
|
@ -55,7 +55,6 @@ fn bytes_to_bools(bytes: &Vec<u8>) -> Vec<bool> {
|
|||
}
|
||||
|
||||
fn dump_bin(bytes: &Vec<u8>) {
|
||||
let mut total: Vec<u8> = Vec::new();
|
||||
for byte in bytes.iter() {
|
||||
println!("{:#08b}\t| {:#02x}", byte, byte);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue