You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These traits are all defined – and explained en detail – in the [traits] module. They are, however, all re-exported here at the crate root.
Note that the [traits] link is not linkified, since there is no member with this name. Additionally, there are no traits listed in the root module:
If you want to re-export traits and have them show up in the documentation for the root module, you need to explicitly include pub use self::mod::trait. Using wildcards won't document them as expected.
The text was updated successfully, but these errors were encountered:
Thank you for the report and sorry for the late reply. Looks like that doc string is a wee bit outdated.
As for the wildcard re-exports, they really shouldn’t be there: Only the main types and traits from every module should be re-exported. I’ll make a PR to fix that.
The docs mention:
Note that the
[traits]
link is not linkified, since there is no member with this name. Additionally, there are no traits listed in the root module:If you want to re-export traits and have them show up in the documentation for the root module, you need to explicitly include
pub use self::mod::trait
. Using wildcards won't document them as expected.The text was updated successfully, but these errors were encountered: