about summary refs log tree commit diff
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
parent89b994049147e6ed947c8ee5a29547be448874a0 (diff)
downloadrust-6e5ec0b3cecd4e7b678ed7878c729a19270d13d1.tar.gz
rust-6e5ec0b3cecd4e7b678ed7878c729a19270d13d1.zip
Fix a pair of typos
-rw-r--r--crates/rust-analyzer/default_12483297303756020505_0.profrawbin0 -> 25152 bytes
-rw-r--r--crates/stdx/src/rand.rs6
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/rust-analyzer/default_12483297303756020505_0.profraw b/crates/rust-analyzer/default_12483297303756020505_0.profraw
new file mode 100644
index 00000000000..e49d7c14492
--- /dev/null
+++ b/crates/rust-analyzer/default_12483297303756020505_0.profraw
Binary files differdiff --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;