mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
Rollup merge of #124351 - Treeniks:master, r=workingjubilee
fix typo in binary_heap docs There was an extra "the" that should not be there.
This commit is contained in:
commit
62bc38dd65
@ -31,7 +31,7 @@
|
||||
//! // instead of a max-heap.
|
||||
//! impl Ord for State {
|
||||
//! fn cmp(&self, other: &Self) -> Ordering {
|
||||
//! // Notice that the we flip the ordering on costs.
|
||||
//! // Notice that we flip the ordering on costs.
|
||||
//! // In case of a tie we compare positions - this step is necessary
|
||||
//! // to make implementations of `PartialEq` and `Ord` consistent.
|
||||
//! other.cost.cmp(&self.cost)
|
||||
|
Loading…
Reference in New Issue
Block a user