Skip to content

Commit

Permalink
lib: delete comment
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Dec 24, 2024
1 parent e92e500 commit 2532c24
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ fn bspatch_rs(py: Python<'_>, source: i32, patch: &[u8]) -> io::Result<Vec<u8>>
std::mem::forget(file);
let mut target = Vec::with_capacity(patcher.hint_target_size() as usize);

// Optimization. Let the kernel know the specific ranges we're
// accessing. Here, we only need to access up to the original's
patcher.apply(&mmap[..original_size as usize], &mut target)?;

// Validate target size before writing to mmap
Expand Down

0 comments on commit 2532c24

Please sign in to comment.