Skip to content

Commit

Permalink
perf: use eoi instead of eol where applicable in str_sill_eol
Browse files Browse the repository at this point in the history
Signed-off-by: ljedrz <[email protected]>
  • Loading branch information
ljedrz committed Nov 5, 2024
1 parent 5e928d8 commit 42d999b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/network/environment/src/helpers/sanitizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ impl Sanitizer {
if !contains_unsafe_chars {
Ok((after, before))
} else {
recognize(Self::till(value((), Sanitizer::parse_safe_char), Self::eol))(before)
recognize(Self::till(value((), Sanitizer::parse_safe_char), Self::eoi))(before)
}
} else {
map(
Expand Down

0 comments on commit 42d999b

Please sign in to comment.