Skip to content

Commit ad89cf0

Browse files
authored
Rollup merge of rust-lang#124351 - Treeniks:master, r=workingjubilee
fix typo in binary_heap docs There was an extra "the" that should not be there.
2 parents 72e9d09 + 9f98c50 commit ad89cf0

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)