We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62e0ee1 commit 719c40cCopy full SHA for 719c40c
library/alloc/src/collections/binary_heap.rs
@@ -1268,7 +1268,7 @@ impl<T> FusedIterator for Drain<'_, T> {}
1268
1269
/// A draining iterator over the elements of a `BinaryHeap`.
1270
///
1271
-/// This `struct` is created by the [`drain_sorted`] method on [`BinaryHeap`]. See its
+/// This `struct` is created by [`BinaryHeap::drain_sorted()`]. See its
1272
/// documentation for more.
1273
1274
/// [`drain_sorted`]: BinaryHeap::drain_sorted
0 commit comments