Skip to content

Commit

Permalink
style: rename variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Mar 11, 2024
1 parent 7ca768d commit b2ffebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/re/fast/fastvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ impl FastVM<'_> {
#[inline]
fn jump_fwd(
input: &[u8],
expected_after_jump: Option<u8>,
byte_after_jmp: Option<u8>,
flags: JumpFlagSet,
range: &RangeInclusive<u16>,
position: usize,
Expand Down Expand Up @@ -582,7 +582,7 @@ impl FastVM<'_> {

let accept_newlines = flags.contains(JumpFlags::AcceptNewlines);

match expected_after_jump {
match byte_after_jmp {
Some(b) if !accept_newlines => {
// Search for the literal byte and the newline at the same
// time. Any offset found before the newline is a position
Expand Down

0 comments on commit b2ffebd

Please sign in to comment.