Files
rust/library/std/src
Jacob Pratt 9aae60befc Rollup merge of #140936 - teor2345:wtf-surrogate-docs, r=workingjubilee
Clarify WTF-8 safety docs

This PR is a follow-up to PR #140159, which clarifies ~~two things~~:
- the WTF-8 safety comment [was confusing](https://github.com/rust-lang/rust/pull/140159#discussion_r2082766965), either surrogate condition is actually sufficient for safety, both are not required
- ~~the private `os_str::Slice` type name is easily confused with `std::slice`~~

~~Happy to bikeshed the `OsSlice` name, other alternatives are `OsStrSlice` and `StrSlice`. Now it's got a distinct name from `std::slice`, it's easy to search and replace.~~

cc ``@thaliaarchi`` ``@workingjubilee``
2025-05-26 03:38:17 +02:00
..
2024-11-02 11:27:14 +01:00
2025-04-04 14:47:04 +02:00
2025-05-12 15:33:37 +02:00
2025-02-13 13:10:28 -08:00
2025-05-22 22:47:36 +08:00
2025-05-12 15:33:37 +02:00
2025-01-11 06:35:21 +02:00
2025-05-20 21:16:23 +00:00
2025-02-25 09:08:22 +05:30
2025-05-25 08:11:41 +00:00
2025-03-10 21:23:32 +08:00
2025-05-15 11:20:13 +02:00
2025-02-07 16:54:07 +01:00