Skip to content

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

Closed
@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

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions