refactor: apply rust suggested code cleanups
This commit is contained in:
parent
68d9f13a3d
commit
9785b8d8aa
12 changed files with 16 additions and 40 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