Skip to content
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

Write the 'primitive types' section of TRPL #24253

Merged
merged 1 commit into from
Apr 11, 2015

Conversation

steveklabnik
Copy link
Member

A brief introduction to each type, with pointers to the primitive pages
for more info.

@rust-highfive
Copy link
Collaborator

r? @alexcrichton

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

of these ones, as well, but these are the most primitive.


# Unit, or `()`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that this type has actually been removed entirely from the language now and it's just the 0-element case of tuples, although I still think of it as a separate type kinda :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh really? whoah

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps this could be a subsection of the tuples section? I think it's still pretty commonly referred to as "unit", but putting it by itself may be giving it too much prominence.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ehhhh let's just drop it for now and see.

A brief introduction to each type, with pointers to the primitive pages
for more info.
@steveklabnik
Copy link
Member Author

@alexcrichton updated!

@alexcrichton
Copy link
Member

@bors: r+ 7bb0cd7

@alexcrichton
Copy link
Member

@bors: rollup

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 10, 2015
…=alexcrichton

A brief introduction to each type, with pointers to the primitive pages
for more info.
bors added a commit that referenced this pull request Apr 10, 2015
Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 10, 2015
…=alexcrichton

A brief introduction to each type, with pointers to the primitive pages
for more info.
Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 10, 2015
…=alexcrichton

 A brief introduction to each type, with pointers to the primitive pages
for more info.
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 10, 2015
…=alexcrichton

A brief introduction to each type, with pointers to the primitive pages
for more info.
bors added a commit that referenced this pull request Apr 10, 2015
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 10, 2015
…=alexcrichton

A brief introduction to each type, with pointers to the primitive pages
for more info.
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 10, 2015
…=alexcrichton

A brief introduction to each type, with pointers to the primitive pages
for more info.
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 10, 2015
…=alexcrichton

A brief introduction to each type, with pointers to the primitive pages
for more info.
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 10, 2015
…=alexcrichton

A brief introduction to each type, with pointers to the primitive pages
for more info.
Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 11, 2015
…=alexcrichton

 A brief introduction to each type, with pointers to the primitive pages
for more info.
@bors bors merged commit 7bb0cd7 into rust-lang:master Apr 11, 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.

4 participants