Skip to content

Commit

Permalink
Auto merge of rust-lang#102536 - scottmcm:lookup_line-tweak, r=jackh726
Browse files Browse the repository at this point in the history
Shorten the `lookup_line` code slightly

The `match` looks like it's exactly the same as `checked_sub(1)`, so we might as well see if perf says we can just do that to save a couple lines.
  • Loading branch information
bors committed Oct 24, 2022
2 parents c88a037 + 6784b45 commit a081fc7
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit a081fc7

Please sign in to comment.