Skip to content

Commit

Permalink
Remove remnant comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV committed Feb 9, 2024
1 parent ffbcfa8 commit ec24c2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ot/position.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ impl Apply for PairAdjustment<'_> {

let flag1 = records.0.apply(ctx, ctx.buffer.idx);
let flag2 = records.1.apply(ctx, pos);
// Note the intentional use of "|" instead of short-circuit "||".
if flag1 | flag2 {

if flag1 || flag2 {
ctx.buffer.unsafe_to_break(ctx.buffer.idx, pos + 1);
}

Expand Down

0 comments on commit ec24c2f

Please sign in to comment.