Skip to content

Commit

Permalink
Fix for clippy warning in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcebox committed Oct 7, 2024
1 parent 184adc7 commit d901225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/string/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ mod tests {
let s: String<4> = String::try_from("ab").unwrap();
let b: Vec<u8, 4> = s.into_bytes();
assert_eq!(b.len(), 2);
assert_eq!(&[b'a', b'b'], &b[..]);
assert_eq!(b"ab", &b[..]);
}

#[test]
Expand Down

0 comments on commit d901225

Please sign in to comment.