about summary refs log tree commit diff
path: root/crates/stdx/src
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@dend.ro>2023-02-15 13:23:13 +0200
committerLaurențiu Nicola <lnicola@dend.ro>2023-02-15 14:11:11 +0200
commit6e5ec0b3cecd4e7b678ed7878c729a19270d13d1 (patch)
tree1098de71eea01413ff511bb6e9c94f6769661c02 /crates/stdx/src
parent89b994049147e6ed947c8ee5a29547be448874a0 (diff)
downloadrust-6e5ec0b3cecd4e7b678ed7878c729a19270d13d1.tar.gz
rust-6e5ec0b3cecd4e7b678ed7878c729a19270d13d1.zip
Fix a pair of typos
Diffstat (limited to 'crates/stdx/src')
-rw-r--r--crates/stdx/src/rand.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/stdx/src/rand.rs b/crates/stdx/src/rand.rs
index b38506caef5..64aa57eae09 100644
--- a/crates/stdx/src/rand.rs
+++ b/crates/stdx/src/rand.rs
@@ -1,8 +1,8 @@
 //! We don't use `rand`, as that's too many things for us.
 //!
-//! Currently, we use oorandom instead, but it misses these two utilities.
-//! Perhaps we should switch to `fastrand`, or our own small prng, it's not like
-//! we need anything move complicatied that xor-shift.
+//! We currently use oorandom instead, but it's missing these two utilities.
+//! Perhaps we should switch to `fastrand`, or our own small PRNG, it's not like
+//! we need anything more complicated than xor-shift.
 
 pub fn shuffle<T>(slice: &mut [T], mut rand_index: impl FnMut(usize) -> usize) {
     let mut remaining = slice.len() - 1;