We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ecf794b + d3bbdcf commit 62bc38dCopy full SHA for 62bc38d
library/alloc/src/collections/binary_heap/mod.rs
@@ -31,7 +31,7 @@
31
//! // instead of a max-heap.
32
//! impl Ord for State {
33
//! fn cmp(&self, other: &Self) -> Ordering {
34
-//! // Notice that the we flip the ordering on costs.
+//! // Notice that we flip the ordering on costs.
35
//! // In case of a tie we compare positions - this step is necessary
36
//! // to make implementations of `PartialEq` and `Ord` consistent.
37
//! other.cost.cmp(&self.cost)
0 commit comments