Michael Goulet 493852ccd6
Rollup merge of #130408 - okaneco:into_lossy_refactor, r=Noratrieb
Avoid re-validating UTF-8 in `FromUtf8Error::into_utf8_lossy`

Part of the unstable feature `string_from_utf8_lossy_owned` - #129436

Refactor `FromUtf8Error::into_utf8_lossy` to copy valid UTF-8 bytes into the buffer, avoiding double validation of bytes.
Add tests that mirror the `String::from_utf8_lossy` tests.
2024-09-21 15:18:56 -04:00
..
2024-07-31 17:10:55 +08:00
2024-08-25 13:41:39 +08:00
2024-07-29 08:26:52 +10:00
2024-07-31 17:10:55 +08:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00