fix rustfmt issue in libstd
This commit is contained in:
parent
75ac3b6331
commit
ba643c50b3
1 changed files with 1 additions and 4 deletions
|
|
@ -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![] }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue