rustdoc bug: page "ByteStr" is outright wrong: it shows methods for [MaybeUninit<...>] · Issue #137083 · rust-lang/rust (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@safinaskar

Description

@safinaskar

rustdoc bug: page ByteStr is outright wrong: it shows methods for [MaybeUninit<...>]

Information on page https://doc.rust-lang.org/nightly/std/bstr/struct.ByteStr.html is currently totally wrong.

After inherent methods we see "Methods from Deref<Target = [u8]>". But then instead of methods of [u8], we actually see methods of [MaybeUninit<T>]!!! Immediately after header "Methods from Deref<Target = [u8]>" we see method write_copy_of_slice, which is actually [MaybeUninit<T>] method!

@rustbot label: +T-rustdoc