Skip to content

Commit

Permalink
Address clippy::wildcard_in_or_patterns lint violations
Browse files Browse the repository at this point in the history
  • Loading branch information
lopopolo committed May 21, 2023
1 parent 96dc75e commit 8cecc7a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,10 @@ mod bstr {
| '\x7f' => {
write!(f, "\\x{:02x}", ch as u32)?;
}
'\n' | '\r' | '\t' | _ => {
'\n' | '\r' | '\t' => {
write!(f, "{}", ch.escape_debug())?;
}
_ => {
write!(f, "{}", ch.escape_debug())?;
}
}
Expand Down

0 comments on commit 8cecc7a

Please sign in to comment.