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

Add examples for LinkedList #34854

Merged
merged 1 commit into from
Jul 21, 2016
Merged

Conversation

GuillaumeGomez
Copy link
Member

Part of #29348.

r? @steveklabnik

@frewsxcv
Copy link
Member

failures:
---- linked_list::LinkedList<T>::iter_mut_0 stdout ----
    thread 'linked_list::LinkedList<T>::iter_mut_0' panicked at 'test executable failed:
thread 'main' panicked at 'assertion failed: `(left == right)` (left: `Some(10)`, right: `Some(0)`)', <anon>:17
note: Run with `RUST_BACKTRACE=1` for a backtrace.

/// let mut iter = list.iter();
/// assert_eq!(iter.next(), Some(&0));
/// assert_eq!(iter.next(), Some(&1));
/// assert_eq!(iter.next(), Some(&2));
Copy link
Member

Choose a reason for hiding this comment

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

Values needed to be updated here to account for += 10.

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 damn, thanks!

Copy link
Member Author

Choose a reason for hiding this comment

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

This note comment still appears because it wasn't on the incorrect line. :p

@steveklabnik
Copy link
Member

@bors: r+ rollup

@bors
Copy link
Contributor

bors commented Jul 19, 2016

📌 Commit 0c9a6f6 has been approved by steveklabnik

@bors
Copy link
Contributor

bors commented Jul 20, 2016

⌛ Testing commit 0c9a6f6 with merge 3c54c36...

@bors
Copy link
Contributor

bors commented Jul 20, 2016

💔 Test failed - auto-win-gnu-32-opt-rustbuild

@alexcrichton
Copy link
Member

@bors: retry

On Tue, Jul 19, 2016 at 9:44 PM, bors notifications@github.com wrote:

💔 Test failed - auto-win-gnu-32-opt-rustbuild
https://buildbot.rust-lang.org/builders/auto-win-gnu-32-opt-rustbuild/builds/1830


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#34854 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD95E_ds-8qRAIDjFrm3RM-fc4d2W5oks5qXaeigaJpZM4JOCJP
.

@bors
Copy link
Contributor

bors commented Jul 21, 2016

⌛ Testing commit 0c9a6f6 with merge 96ce340...

@bors
Copy link
Contributor

bors commented Jul 21, 2016

💔 Test failed - auto-linux-64-cargotest

@alexcrichton
Copy link
Member

@bors: retry

On Wed, Jul 20, 2016 at 6:07 PM, bors notifications@github.com wrote:

💔 Test failed - auto-linux-64-cargotest
https://buildbot.rust-lang.org/builders/auto-linux-64-cargotest/builds/1196


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#34854 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD95HWJeuVhe2ls_C1fy7rysWQl_wI5ks5qXsZJgaJpZM4JOCJP
.

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Jul 21, 2016
bors added a commit that referenced this pull request Jul 21, 2016
Rollup of 7 pull requests

- Successful merges: #34854, #34855, #34880, #34895, #34911, #34921, #34930
- Failed merges: #33951, #34850
@bors bors merged commit 0c9a6f6 into rust-lang:master Jul 21, 2016
@GuillaumeGomez GuillaumeGomez deleted the linked_list_doc branch July 21, 2016 17:23
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.

5 participants