Skip to content

Commit f422f46

Browse files
committed
fix rustfmt issue in libstd
1 parent 8d992e9 commit f422f46

File tree

1 file changed

+1
-4
lines changed
  • library/alloc/src/collections/binary_heap

1 file changed

+1
-4
lines changed

library/alloc/src/collections/binary_heap/mod.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -440,10 +440,7 @@ impl<T: Ord> BinaryHeap<T> {
440440
/// heap.push(4);
441441
/// ```
442442
#[stable(feature = "rust1", since = "1.0.0")]
443-
#[rustc_const_stable(
444-
feature = "const_binary_heap_constructor",
445-
since = "1.80.0"
446-
)]
443+
#[rustc_const_stable(feature = "const_binary_heap_constructor", since = "1.80.0")]
447444
#[must_use]
448445
pub const fn new() -> BinaryHeap<T> {
449446
BinaryHeap { data: vec![] }

0 commit comments

Comments
 (0)