refactor: Apply cargo reccomended cleanups
This commit is contained in:
parent
26ca12b419
commit
1ce30e1cea
11 changed files with 12 additions and 21 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue