fixed warnings

This commit is contained in:
Christoph J. Scherr 2023-05-02 15:19:29 +02:00
parent 50fe259b57
commit f3201c7758
Signed by: PlexSheep
GPG Key ID: 25B4ACF7D88186CC
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,4 @@
#![allow(dead_code)]
/**
* Pythons bit operations are trash, so I made a rust lib for that.
*/

View File

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