Skip to content

Commit

Permalink
refactor: improved code, removed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
m62624 committed Nov 5, 2023
1 parent 9be0a12 commit af384ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flexible_inspect_rs/src/rules/rule_str/runner_range.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ fn single_range_str_check<
.map(|num| {
if range.contains(&num) {
info!("range contains {:?}", num);
return true
true
} else {
info!("range does not contain {:?}", num);
return false
false
}
})
.unwrap_or(false)
Expand Down

0 comments on commit af384ce

Please sign in to comment.