mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-10 05:53:10 +00:00
Updated the tracking issue #
This commit is contained in:
parent
dd2b8a0444
commit
595f3f25fc
@ -905,7 +905,7 @@ impl<T> BinaryHeap<T> {
|
|||||||
///
|
///
|
||||||
/// io::sink().write(heap.as_slice()).unwrap();
|
/// io::sink().write(heap.as_slice()).unwrap();
|
||||||
/// ```
|
/// ```
|
||||||
#[unstable(feature = "binary_heap_as_slice", issue = "82331")]
|
#[unstable(feature = "binary_heap_as_slice", issue = "83659")]
|
||||||
pub fn as_slice(&self) -> &[T] {
|
pub fn as_slice(&self) -> &[T] {
|
||||||
self.data.as_slice()
|
self.data.as_slice()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user