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
In the source:
pub struct GeometryCollection<T>(pub Vec<Geometry<T>>) where T: Float;
In the generated documentation:
pub struct GeometryCollection<T> where T: Float(pub Vec<Geometry<T>>);
The text was updated successfully, but these errors were encountered:
This is because for record structs, the syntax is struct Foo<T> where T: Bar { /***/ }, so tuple structs will need some special-casing here.
struct Foo<T> where T: Bar { /***/ }
Sorry, something went wrong.
Rollup merge of rust-lang#35037 - ollie27:rustdoc_tuple_struct_where,…
22297bd
… r=alexcrichton rustdoc: Fix tuple struct where clause rendering For tuple structs the where clause comes after the definition. Fixes rust-lang#34928
No branches or pull requests
In the source:
In the generated documentation:
The text was updated successfully, but these errors were encountered: