Skip to content

Commit 62bc38d

Browse files
authored
Rollup merge of #124351 - Treeniks:master, r=workingjubilee
fix typo in binary_heap docs There was an extra "the" that should not be there.
2 parents ecf794b + d3bbdcf commit 62bc38d

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

library/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)