We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72e9d09 + 9f98c50 commit ad89cf0Copy full SHA for ad89cf0
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