about summary refs log tree commit diff
path: root/library/core/src/slice
diff options
context:
space:
mode:
authorDaniPopes <57450786+DaniPopes@users.noreply.github.com>2023-04-10 21:07:29 +0200
committerDaniPopes <57450786+DaniPopes@users.noreply.github.com>2023-04-10 21:07:29 +0200
commita0daf22b95ff1cd3f7ac55ea9370987535f3134d (patch)
treef8efc443c71e799ab49867ffbc3721a497b7c982 /library/core/src/slice
parenta73288371e3fa0a610fbc11e7e8418017bdfde42 (diff)
downloadrust-a0daf22b95ff1cd3f7ac55ea9370987535f3134d.tar.gz
rust-a0daf22b95ff1cd3f7ac55ea9370987535f3134d.zip
Fix typos in library
Diffstat (limited to 'library/core/src/slice')
-rw-r--r--library/core/src/slice/sort.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/slice/sort.rs b/library/core/src/slice/sort.rs
index 2333f60a888..07fd96f9295 100644
--- a/library/core/src/slice/sort.rs
+++ b/library/core/src/slice/sort.rs
@@ -1486,7 +1486,7 @@ where
 }
 
 /// Finds a streak of presorted elements starting at the beginning of the slice. Returns the first
-/// value that is not part of said streak, and a bool denoting wether the streak was reversed.
+/// value that is not part of said streak, and a bool denoting whether the streak was reversed.
 /// Streaks can be increasing or decreasing.
 fn find_streak<T, F>(v: &[T], is_less: &mut F) -> (usize, bool)
 where