Skip to content

Commit

Permalink
fix rustfmt issue in libstd
Browse files Browse the repository at this point in the history
  • Loading branch information
lqd committed Jun 11, 2024
1 parent b420815 commit 77c582a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions library/alloc/src/collections/binary_heap/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,10 +440,7 @@ impl<T: Ord> BinaryHeap<T> {
/// heap.push(4);
/// ```
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_stable(
feature = "const_binary_heap_constructor",
since = "1.80.0"
)]
#[rustc_const_stable(feature = "const_binary_heap_constructor", since = "1.80.0")]
#[must_use]
pub const fn new() -> BinaryHeap<T> {
BinaryHeap { data: vec![] }
Expand Down

0 comments on commit 77c582a

Please sign in to comment.