Skip to content

Commit

Permalink
Classify BinaryHeap & LinkedList unit tests as such
Browse files Browse the repository at this point in the history
  • Loading branch information
ssomers committed Mar 11, 2022
1 parent f58d51b commit a3a5d83
Show file tree
Hide file tree
Showing 5 changed files with 692 additions and 694 deletions.
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, AsIntoIter, 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

0 comments on commit a3a5d83

Please sign in to comment.