mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 10:41:58 +03:00
845f3d30bf
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