Skip to content

Commit cbb5f0b

Browse files
cfsmp3claude
andcommitted
fix(clippy): Use RangeInclusive::contains() instead of manual range check
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent fd06393 commit cbb5f0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust/src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ impl OptionsExt for Options {
12101210
} else {
12111211
// Multiple pages - each gets a separate output file
12121212
for &page_num in tpages {
1213-
if page_num >= 100 && page_num <= 899 {
1213+
if (100..=899).contains(&page_num) {
12141214
tlt_config.user_pages.push(page_num);
12151215
}
12161216
}

0 commit comments

Comments
 (0)