Skip to content

Commit 12e911c

Browse files
committed
Fix spelling mistakes
1 parent fb5b3bb commit 12e911c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

benches/generators.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ gen_uint_new!(gen_u64_std, u64, StdRng);
8181
gen_uint_new!(gen_u64_os, u64, OsRng);
8282

8383
// Do not test JitterRng like the others by running it RAND_BENCH_N times per,
84-
// measurement, because it is way to slow. Only run it once
84+
// measurement, because it is way too slow. Only run it once.
8585
#[bench]
8686
fn gen_u64_jitter(b: &mut Bencher) {
8787
let mut rng = JitterRng::new().unwrap();

src/prng/chacha.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ impl ChaChaRng {
187187

188188
/// Refill the internal output buffer (`self.buffer`)
189189
fn update(&mut self) {
190-
// For some reason extracting this part into a seperate function
190+
// For some reason extracting this part into a separate function
191191
// improves performance by 50%.
192192
fn core(results: &mut [u32; STATE_WORDS],
193193
state: &[u32; STATE_WORDS],

0 commit comments

Comments
 (0)