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

Improve slice docs #34725

Merged
merged 1 commit into from
Jul 11, 2016
Merged

Improve slice docs #34725

merged 1 commit into from
Jul 11, 2016

Conversation

GuillaumeGomez
Copy link
Member

Fixes #29337.

r? @steveklabnik

/// Returns a mutable pointer to the first element of a slice, or `None` if it is empty
/// Returns a mutable pointer to the first element of a slice, or `None` if it is empty.
///
/// # Example
Copy link
Member

Choose a reason for hiding this comment

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

Can you change these to "Examples" with the s, please?

@GuillaumeGomez GuillaumeGomez force-pushed the doc_slice branch 2 times, most recently from 67d54cc to e61ce35 Compare July 8, 2016 23:44
@GuillaumeGomez
Copy link
Member Author

Updated.

@steveklabnik
Copy link
Member

@bors: r+ rollup

@bors
Copy link
Contributor

bors commented Jul 11, 2016

📌 Commit 50483d5 has been approved by steveklabnik

@bors
Copy link
Contributor

bors commented Jul 11, 2016

⌛ Testing commit 50483d5 with merge 3ab8054...

bors added a commit that referenced this pull request Jul 11, 2016
@bors bors merged commit 50483d5 into rust-lang:master Jul 11, 2016
@GuillaumeGomez GuillaumeGomez deleted the doc_slice branch July 11, 2016 18:57
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.

3 participants