-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustdoc: Relocate array primitive docs to a new page #23633
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
Conversation
r? @pcwalton (rust_highfive has picked a reviewer for you, use r? to override) |
8945dd6
to
7684012
Compare
@@ -1322,7 +1322,8 @@ pub enum Type { | |||
/// For parameterized types, so the consumer of the JSON don't go | |||
/// looking for types which don't exist anywhere. | |||
Generic(String), | |||
/// Primitives are just the fixed-size numeric types (plus int/uint/float), and char. | |||
/// Primitives are the fixed-size numeric types (plus int/uint/float), char, | |||
/// arrays, slices, and types. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this has an extra 'and types'. Maybe 'tuple' was meant?
Also, you should squash these two together, don't want my 'wip' commit getting into the history :) |
r=me with a squash |
Impls on `clean::Type::FixedVector` are now collected in the array primitive page instead of the slice primitive page. Also add a primitive docs for arrays to `std`.
7684012
to
2df8830
Compare
Squashed and addressed the typo @steveklabnik found |
Previously, impls for `[T; n]` were collected in the same place as impls for `[T]` and `&[T]`. This splits them out into their own primitive page in both core and std.
Previously, impls for
[T; n]
were collected in the same place as impls for[T]
and&[T]
. This splits them out into their own primitive page in both core and std.