Skip to content

Rollup of 7 pull requests #96622

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

Merged
merged 19 commits into from
May 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
a3a5d83
Classify BinaryHeap & LinkedList unit tests as such
ssomers Feb 18, 2022
4dda047
Clarify docs for from_raw_parts
jmaargh Apr 19, 2022
2f287d6
Make it possible to write doctests for bootstrap
jyn514 Apr 28, 2022
ec90f9d
Fix documentation for log functions unsigned int
alex-semenyuk Apr 29, 2022
6ee70bc
Fix documentation for log functions int
alex-semenyuk Apr 29, 2022
dff97d5
Add a bathroom stall to weird expressions test
thomcc Apr 30, 2022
1288883
std::fmt: Fixed documentation for specifying precision via `.*`
EliasHolzmann Apr 30, 2022
afd80a2
std::fmt: Added argument index comments to examples for specifying pr…
EliasHolzmann Apr 30, 2022
79d9afd
std::fmt: Fix the grammar documentation
EliasHolzmann Apr 30, 2022
c70f3ab
std::fmt: Removed reference to Formatter::buf and other private fields
EliasHolzmann Apr 30, 2022
f3b86c3
std::fmt: Improved list of formatting macros
EliasHolzmann Apr 30, 2022
68982bc
Update browser-ui-test version to 0.9.0
GuillaumeGomez May 1, 2022
ddfc65d
Rollup merge of #94126 - ssomers:alloc_prep_1, r=Mark-Simulacrum
JohnTitor May 2, 2022
1785f15
Rollup merge of #96222 - jmaargh:john-mark/clarify-from-raw-parts-doc…
JohnTitor May 2, 2022
eacebb4
Rollup merge of #96499 - jyn514:bootstrap-doctests, r=Mark-Simulacrum
JohnTitor May 2, 2022
f581354
Rollup merge of #96567 - alex-semenyuk:fix_docs_for_logs_func, r=Mark…
JohnTitor May 2, 2022
ab1ae48
Rollup merge of #96568 - EliasHolzmann:fmt_doc_fixes, r=joshtriplett
JohnTitor May 2, 2022
f6a89ee
Rollup merge of #96571 - thomcc:bathroom-stall, r=Mark-Simulacrum
JohnTitor May 2, 2022
5750e33
Rollup merge of #96610 - GuillaumeGomez:update-browser-ui-test, r=not…
JohnTitor May 2, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions library/alloc/src/collections/binary_heap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ use crate::vec::{self, AsVecIntoIter, Vec};

use super::SpecExtend;

#[cfg(test)]
mod tests;

/// A priority queue implemented with a binary heap.
///
/// This will be a max-heap.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::collections::binary_heap::{Drain, PeekMut};
use std::collections::BinaryHeap;
use super::*;
use crate::boxed::Box;
use std::iter::TrustedLen;
use std::panic::{catch_unwind, AssertUnwindSafe};
use std::sync::atomic::{AtomicU32, Ordering};
Expand Down
Loading