Skip to content

Conversation

frewsxcv
Copy link
Contributor

No description provided.

@frewsxcv
Copy link
Contributor Author

r? @GuillaumeGomez

@GuillaumeGomez
Copy link
Member

Thanks!

@bors: r+ rollup

@bors
Copy link
Collaborator

bors commented Sep 23, 2016

📌 Commit 3b1b8ae has been approved by GuillaumeGomez

@@ -726,18 +726,18 @@ impl<T> VecDeque<T> {
/// ```
/// use std::collections::VecDeque;
///
/// let mut vector: VecDeque<u32> = VecDeque::new();
/// let mut vector = VecDeque::<u32>::new();
Copy link
Contributor

Choose a reason for hiding this comment

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

The element type seems to not be important to the example. Even better to leave it out (and let it fall back to i32)?

@@ -764,7 +764,7 @@ impl<T> VecDeque<T> {
/// ```
/// use std::collections::VecDeque;
///
/// let mut vector: VecDeque<u32> = VecDeque::new();
/// let mut vector = VecDeque::<u32>::new();
Copy link
Contributor

Choose a reason for hiding this comment

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

same

@GuillaumeGomez
Copy link
Member

@bors: r-

@frewsxcv: Please fix @bluss's comments.

@frewsxcv
Copy link
Contributor Author

Requested changes have been addressed.

@GuillaumeGomez
Copy link
Member

@bors: r+ rollup

@bors
Copy link
Collaborator

bors commented Sep 23, 2016

📌 Commit 3b97344 has been approved by GuillaumeGomez

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Sep 23, 2016
Minor `VecDeque` doc examples cleanup.

None
bors added a commit that referenced this pull request Sep 24, 2016
Rollup of 7 pull requests

- Successful merges: #36018, #36498, #36500, #36559, #36566, #36578, #36664
- Failed merges:
@bors bors merged commit 3b97344 into rust-lang:master Sep 24, 2016
@frewsxcv frewsxcv deleted the vec-deque branch October 2, 2016 23:06
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