Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide trait impls that are inaccessible to users #106

Closed
dtolnay opened this Issue May 31, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@dtolnay
Copy link

dtolnay commented May 31, 2017

The rustdoc for reqwest::Error contains these two distracting impls:

impl From<InternalFrom<Error>> for Error;

impl<T> From<InternalFrom<T>> for Error where T: Into<Kind>;

These are not possible for a user to call. They should be hidden from rustdoc by using #[doc(hidden)].

@dtolnay

This comment has been minimized.

Copy link
Author

dtolnay commented May 31, 2017

I filed rust-lang/rust#42323 to follow up on the rustdoc side as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.