Skip to content

Add doc example for Vec #35181

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Aug 5, 2016
Merged

Add doc example for Vec #35181

merged 1 commit into from
Aug 5, 2016

Conversation

GuillaumeGomez
Copy link
Member

Fixes #29380.

r? @steveklabnik

/// # Examples
///
/// ```
/// let v = vec!(1, 2, 3);
Copy link
Member

Choose a reason for hiding this comment

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

please use the [] style rather than the () style

and put a newline between these two things

@GuillaumeGomez
Copy link
Member Author

Updated.

@steveklabnik
Copy link
Member

@bors: r+ rollup

@bors
Copy link
Collaborator

bors commented Aug 2, 2016

📌 Commit 1fa9b8d has been approved by steveklabnik

sanxiyn added a commit to sanxiyn/rust that referenced this pull request Aug 3, 2016
bors added a commit that referenced this pull request Aug 3, 2016
Rollup of 7 pull requests

- Successful merges: #34319, #35041, #35042, #35175, #35181, #35182, #35189
- Failed merges:
bors added a commit that referenced this pull request Aug 3, 2016
Rollup of 7 pull requests

- Successful merges: #34319, #35041, #35042, #35175, #35181, #35182, #35189
- Failed merges:
sophiajt pushed a commit to sophiajt/rust that referenced this pull request Aug 4, 2016
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Aug 4, 2016
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Aug 5, 2016
bors added a commit that referenced this pull request Aug 5, 2016
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Aug 5, 2016
bors added a commit that referenced this pull request Aug 5, 2016
@bors bors merged commit 1fa9b8d into rust-lang:master Aug 5, 2016
@GuillaumeGomez GuillaumeGomez deleted the vec_doc branch August 6, 2016 11:14
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants