Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve invalid_utf8_in_unchecked clippy lint in ancient test code
error: non UTF-8 literal in `std::str::from_utf8_unchecked` --> test_suite/tests/test_ser.rs:803:25 | 803 | let path = unsafe { str::from_utf8_unchecked(b"Hello \xF0\x90\x80World") }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::invalid-utf8-in-unchecked` implied by `-D clippy::all` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#invalid_utf8_in_unchecked
- Loading branch information