about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDenis Vasilik <contact@denisvasilik.com>2020-09-18 16:45:44 +0200
committerGitHub <noreply@github.com>2020-09-18 16:45:44 +0200
commit719c40cb5aa580e0f51cff5e021ec51c52814621 (patch)
tree975a0475ec8f34622457a612d2562a9efac3c024
parent62e0ee1ba0e120ffc4738e4c606869df7bc61c2c (diff)
downloadrust-719c40cb5aa580e0f51cff5e021ec51c52814621.tar.gz
rust-719c40cb5aa580e0f51cff5e021ec51c52814621.zip
Update library/alloc/src/collections/binary_heap.rs
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
-rw-r--r--library/alloc/src/collections/binary_heap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/collections/binary_heap.rs b/library/alloc/src/collections/binary_heap.rs
index 92c0dc92c5f..53815c38bef 100644
--- a/library/alloc/src/collections/binary_heap.rs
+++ b/library/alloc/src/collections/binary_heap.rs
@@ -1268,7 +1268,7 @@ impl<T> FusedIterator for Drain<'_, T> {}
 
 /// A draining iterator over the elements of a `BinaryHeap`.
 ///
-/// This `struct` is created by the [`drain_sorted`] method on [`BinaryHeap`]. See its
+/// This `struct` is created by [`BinaryHeap::drain_sorted()`]. See its
 /// documentation for more.
 ///
 /// [`drain_sorted`]: BinaryHeap::drain_sorted