Some trait methods don't appear in the documentation for types that implement the trait #131839
Labels
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Location
This is a documentation bug on this page specifically:
https://doc.rust-lang.org/std/io/struct.BufReader.html#impl-BufRead-for-BufReader%3CR%3E
I believe I've seen the same issue elsewhere, but I don't have an example to hand right now.
Summary
Here's a specific example: the doc for Bufreader doesn't include the method lines in the Bufreader impl section. Other methods like has_data_left are documented. Both has_data_left and lines are default methods, and yet only one of them is described.
It's causing an issue because I can't find if a method is implemented on a structure by searching through the structure's documentation.
The text was updated successfully, but these errors were encountered: