refactor: Apply cargo reccomended cleanups

This commit is contained in:
0xalivecow 2024-11-02 14:19:21 +01:00
parent 26ca12b419
commit 1ce30e1cea
No known key found for this signature in database
11 changed files with 12 additions and 21 deletions

View file

@ -1,7 +1,5 @@
use anyhow::{anyhow, Ok, Result};
use base64::Engine;
use anyhow::{Ok, Result};
use super::poly::gfmul;
pub fn xor_bytes(vec1: &Vec<u8>, mut vec2: Vec<u8>) -> Result<Vec<u8>> {
for (byte1, byte2) in vec1.iter().zip(vec2.iter_mut()) {