Skip to content

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

Merged
merged 1 commit into from
Mar 24, 2015

Conversation

tomjakubowski
Copy link
Contributor

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.

@rust-highfive
Copy link
Contributor

r? @pcwalton

(rust_highfive has picked a reviewer for you, use r? to override)

@tomjakubowski
Copy link
Contributor Author

r? @steveklabnik

@@ -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.
Copy link
Member

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?

@steveklabnik
Copy link
Member

Also, you should squash these two together, don't want my 'wip' commit getting into the history :)

@alexcrichton
Copy link
Member

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`.
@tomjakubowski
Copy link
Contributor Author

Squashed and addressed the typo @steveklabnik found

@alexcrichton
Copy link
Member

@bors: r+ 2df8830

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Mar 23, 2015
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.
@bors bors merged commit 2df8830 into rust-lang:master Mar 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants