We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
impl Trait
pub fn foo(_x: impl Clone, _y: i32, _z: impl Copy) { }
Running rustdoc on this code generates the following documentation:
The text was updated successfully, but these errors were encountered:
Auto merge of #49304 - sinkuu:impl_trait_rustdoc, r=QuietMisdreavus
e58df0d
Rustdoc support for universal_impl_trait Hides type parameters synthesized by `impl Trait`-in-argument-position, and enables links to trait names. <img alt="before" src="https://user-images.githubusercontent.com/7091080/37831646-a61413c6-2ee9-11e8-8ec2-a6137956d922.png" width="450"/> ↓ <img alt="after" src="https://user-images.githubusercontent.com/7091080/37831657-b2ff0ae6-2ee9-11e8-8797-fdad904782bf.png" width="450"/> Fixes #49309
No branches or pull requests
Running rustdoc on this code generates the following documentation:
The text was updated successfully, but these errors were encountered: