Skip to content

Commit 8cd3d37

Browse files
chloefealgitbot
authored and
gitbot
committed
Fix typos
Signed-off-by: chloefeal <[email protected]>
1 parent b8b8519 commit 8cd3d37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

alloc/tests/sort/tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fn check_is_sorted<T: Ord + Clone + Debug, S: Sort>(v: &mut [T]) {
3333
known_good_stable_sort::sort(known_good_sorted_vec.as_mut_slice());
3434

3535
if is_small_test {
36-
eprintln!("Orginal: {:?}", v_orig);
36+
eprintln!("Original: {:?}", v_orig);
3737
eprintln!("Expected: {:?}", known_good_sorted_vec);
3838
eprintln!("Got: {:?}", v);
3939
} else {

core/benches/num/int_pow/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ macro_rules! pow_bench_template {
2525
let mut exp_iter = black_box(&exp_array).into_iter();
2626

2727
(0..ITERATIONS).fold((0 as IntType, false), |acc, _| {
28-
// Sometimes constants don't propogate all the way to the
28+
// Sometimes constants don't propagate all the way to the
2929
// inside of the loop, so we call a custom expression every cycle
3030
// rather than iter::repeat(CONST)
3131
let base: IntType = $base_macro!(base_iter);

0 commit comments

Comments
 (0)