mirror of
https://github.com/pumpbin/pumpbin
synced 2026-03-14 23:04:30 -07:00
refactor: chore iced
This commit is contained in:
@@ -73,7 +73,7 @@ pub fn replace(
|
||||
|
||||
let position = memmem::find_iter(bin, holder)
|
||||
.next()
|
||||
.ok_or(anyhow!("Not found {}", String::from_utf8_lossy(holder)))?;
|
||||
.ok_or(anyhow!("Not found {}.", String::from_utf8_lossy(holder)))?;
|
||||
let mut random: Vec<u8> = iter::repeat(b'0')
|
||||
.take(max_len - replace_by.len())
|
||||
.collect();
|
||||
|
||||
Reference in New Issue
Block a user