Skip to content

Commit 9f98c50

Browse files
committed
fix typo in binary_heap docs
1 parent e8ea161 commit 9f98c50

File tree

1 file changed

+1
-1
lines changed
  • alloc/src/collections/binary_heap

1 file changed

+1
-1
lines changed

alloc/src/collections/binary_heap/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
//! // instead of a max-heap.
3232
//! impl Ord for State {
3333
//! fn cmp(&self, other: &Self) -> Ordering {
34-
//! // Notice that the we flip the ordering on costs.
34+
//! // Notice that we flip the ordering on costs.
3535
//! // In case of a tie we compare positions - this step is necessary
3636
//! // to make implementations of `PartialEq` and `Ord` consistent.
3737
//! other.cost.cmp(&self.cost)

0 commit comments

Comments
 (0)