mirror of
https://github.com/openharmony/third_party_rust_bytes.git
synced 2026-07-18 16:24:29 -04:00
ccc8de14a3
A `&str` cannot arbitrarily advance bytes, since it will panic if advanced to the middle of a Unicode segment.