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:
Matthias Krüger 2024-04-25 00:19:56 +02:00 committed by GitHub
commit 62bc38dd65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)