diff options
| author | Thomas Lindae <thomas.lindae@in.tum.de> | 2024-04-24 22:59:39 +0200 |
|---|---|---|
| committer | Thomas Lindae <thomas.lindae@in.tum.de> | 2024-04-24 22:59:39 +0200 |
| commit | d3bbdcf26c3423cc2e996863e771277c5839d821 (patch) | |
| tree | 91d3ac959fbe73cf30b9c9c82b181e4e73cb27cd | |
| parent | 7bb4f0889e8b133c5b03c46f31f2ae6432c00219 (diff) | |
| download | rust-d3bbdcf26c3423cc2e996863e771277c5839d821.tar.gz rust-d3bbdcf26c3423cc2e996863e771277c5839d821.zip | |
fix typo in binary_heap docs
| -rw-r--r-- | library/alloc/src/collections/binary_heap/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/collections/binary_heap/mod.rs b/library/alloc/src/collections/binary_heap/mod.rs index c54f0062824..846b9a1404d 100644 --- a/library/alloc/src/collections/binary_heap/mod.rs +++ b/library/alloc/src/collections/binary_heap/mod.rs @@ -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) |
