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 Dec 17, 2024
1 parent be48f30 commit 7ea53c7
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 @@ -128,7 +128,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 7ea53c7

Please sign in to comment.