mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
e8ddb3a19d
Require UTF-8 in `Utf8Pattern::StringPattern` Store `&str` instead, so the UTF-8 invariant is enforced at the API boundary. Fixes rust-lang/rust#156491