Skip to content

Commit

Permalink
Update src/uu/tr/src/operation.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Sylvestre Ledru <[email protected]>
  • Loading branch information
RenjiSann and sylvestre authored Feb 18, 2025
1 parent 4409128 commit eec0671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uu/tr/src/operation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ impl Sequence {
Err(BadSequence::MissingEquivalentClassChar),
peek(tag("=]")),
),
map(Self::parse_backslash_or_char, |c| Ok(c)),
map(Self::parse_backslash_or_char, Ok),
)),
map(terminated(take_until("=]"), tag("=]")), |v: &[u8]| {
if v.is_empty() {
Expand Down

0 comments on commit eec0671

Please sign in to comment.