Uh oh!
There was an error while loading. Please reload this page.
Add missing documentation examples for BinaryHeap. - #32137
Conversation
As part of the ongoing effort to document all methods with examples, this commit adds the missing examples for the `BinaryHeap` collection type. This is part of issue rust-lang#29348.
| /// Discards as much additional capacity as possible. | ||
| /// | ||
| /// # Examples | ||
| /// |
There was a problem hiding this comment.
same comment about basic usage from the other PR here
steveklabnik
commented
Mar 9, 2016
@bors: r+ rollup Thanks so much! |
bors
commented
Mar 9, 2016
📌 Commit 04436fb has been approved by |
…heap, r=steveklabnik Add missing documentation examples for BinaryHeap. As part of the ongoing effort to document all methods with examples, this commit adds the missing examples for the `BinaryHeap` collection type. This is part of issue rust-lang#29348. r? @steveklabnik
steveklabnik
commented
Mar 10, 2016
@bors: r- the travis failure here is legit, there's an extra |
nathankleyn
commented
Mar 10, 2016
@steveklabnik Fixed! On a related note, what is your workflow for running these tests quickly and easily as you make doc changes? Now that I'm trying to get more involved and doing more, I'd really like to understand a bit more about how you work on a day-to-day basis, especially so I can avoid silly mistakes like this! 😀 |
steveklabnik
commented
Mar 10, 2016
I usually do So in this case, |
nathankleyn
commented
Mar 10, 2016
@steveklabnik Ah that's awesome, thanks heaps for your help and patience! PR is ready for you and tests are green again. I'll now keep ^^ these tests running on a watch as I get through the other tasks from #29348. |
steveklabnik
commented
Mar 11, 2016
@bors: r+ rollup Great! :) Also, there's a #rust-docs on IRC if you want to chat in realtime about issues relating to docs. |
bors
commented
Mar 11, 2016
📌 Commit da4fda4 has been approved by |
…heap, r=steveklabnik Add missing documentation examples for BinaryHeap. As part of the ongoing effort to document all methods with examples, this commit adds the missing examples for the `BinaryHeap` collection type. This is part of issue rust-lang#29348. r? @steveklabnik
…heap, r=steveklabnik Add missing documentation examples for BinaryHeap. As part of the ongoing effort to document all methods with examples, this commit adds the missing examples for the `BinaryHeap` collection type. This is part of issue rust-lang#29348. r? @steveklabnik
As part of the ongoing effort to document all methods with examples,
this commit adds the missing examples for the
BinaryHeapcollectiontype.
This is part of issue #29348.
r? @steveklabnik