Skip to content

Improve docs for core::tuple #14440

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
May 26, 2014
Merged

Improve docs for core::tuple #14440

merged 1 commit into from
May 26, 2014

Conversation

Sawyer47
Copy link
Contributor

No description provided.

//! * `mutN` - returns a mutable reference to _N_-th element
//!
//! Indexing starts from zero, so `val0` returns first value, `val1`
//! returns second value, and so on. In general, a tuple with _S_
Copy link
Member

Choose a reason for hiding this comment

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

It's probably worth noting that this only holds up to S == 12.

@alexcrichton
Copy link
Member

Looks good to me, thanks! This is good to go with a squash of the two commits.

@Sawyer47
Copy link
Contributor Author

Done, I hope i did it properly.

@Sawyer47
Copy link
Contributor Author

I forgot that Default is not in the prelude, sorry : (

@bors bors closed this May 26, 2014
@bors bors merged commit 9051f9b into rust-lang:master May 26, 2014
@Sawyer47 Sawyer47 deleted the tuple-doc branch May 31, 2014 16:45
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 5, 2023
fix: Handle box and raw pointers correctly in builtin_deref
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