We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d992e9 commit f422f46Copy full SHA for f422f46
library/alloc/src/collections/binary_heap/mod.rs
@@ -440,10 +440,7 @@ impl<T: Ord> BinaryHeap<T> {
440
/// heap.push(4);
441
/// ```
442
#[stable(feature = "rust1", since = "1.0.0")]
443
- #[rustc_const_stable(
444
- feature = "const_binary_heap_constructor",
445
- since = "1.80.0"
446
- )]
+ #[rustc_const_stable(feature = "const_binary_heap_constructor", since = "1.80.0")]
447
#[must_use]
448
pub const fn new() -> BinaryHeap<T> {
449
BinaryHeap { data: vec![] }
0 commit comments