about summary refs log tree commit diff
path: root/tests/rustdoc/source-code-pages/html-no-source.rs
diff options
context:
space:
mode:
authorThalia Archibald <thalia@archibald.dev>2025-04-22 03:31:45 -0700
committerThalia Archibald <thalia@archibald.dev>2025-04-30 23:56:39 -0700
commit0f0c0d8b16b265ac57cac9fd50f1dcfe78719a6a (patch)
treeff3b348905832feb969e629d4ef31c82058632bf /tests/rustdoc/source-code-pages/html-no-source.rs
parent7cb357a36b96781f9ff85f8a4168382243352ba1 (diff)
downloadrust-0f0c0d8b16b265ac57cac9fd50f1dcfe78719a6a.tar.gz
rust-0f0c0d8b16b265ac57cac9fd50f1dcfe78719a6a.zip
Avoid redundant WTF-8 checks in `PathBuf`
Eliminate checks for WTF-8 boundaries in `PathBuf::set_extension` and
`add_extension`, where joining WTF-8 surrogate halves is impossible.
Don't convert the `str` to `OsStr`, because `OsString::push` specializes
to skip the joining when given strings.
Diffstat (limited to 'tests/rustdoc/source-code-pages/html-no-source.rs')
0 files changed, 0 insertions, 0 deletions