Skip to content

Commit

Permalink
cargo +1.70.0 clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy committed Jan 7, 2024
1 parent f5ea3e6 commit 77bcfdb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/std/src/errors/std_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,6 @@ mod tests {
#[test]
fn from_std_str_utf8error_works() {
let broken = b"Hello \xF0\x90\x80World";
#[allow(invalid_from_utf8)]
let error: StdError = str::from_utf8(broken).unwrap_err().into();
match error {
StdError::InvalidUtf8 { msg, .. } => {
Expand Down

0 comments on commit 77bcfdb

Please sign in to comment.