Skip to content

Commit fc0fd28

Browse files
committed
Fix for misspelled comments in tests.
Just spelling corrections.
1 parent ba2f13e commit fc0fd28

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/test/bench/shootout-reverse-complement.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ impl Tables {
9090
}
9191
}
9292

93-
/// Retreives the complement for `i`.
93+
/// Retrieves the complement for `i`.
9494
fn cpl8(&self, i: u8) -> u8 {
9595
self.table8[i as uint]
9696
}
9797

98-
/// Retreives the complement for `i`.
98+
/// Retrieves the complement for `i`.
9999
fn cpl16(&self, i: u16) -> u16 {
100100
self.table16[i as uint]
101101
}

src/test/compile-fail/assoc-inherent.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// Test associated types are forbidden in inherant impls.
11+
// Test associated types are forbidden in inherent impls.
1212

1313
struct Foo;
1414

src/test/compile-fail/issue-7364.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
use std::cell::RefCell;
1414

15-
// Regresion test for issue 7364
15+
// Regression test for issue 7364
1616
static boxed: Box<RefCell<isize>> = box RefCell::new(0);
1717
//~^ ERROR statics are not allowed to have custom pointers
1818
//~| ERROR: the trait `core::marker::Sync` is not implemented for the type

src/test/compile-fail/issue-9243.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// Regresion test for issue 9243
11+
// Regression test for issue 9243
1212

1313
struct Test {
1414
mem: isize,

src/test/run-pass/issue-7660.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// Regresion test for issue 7660
11+
// Regression test for issue 7660
1212
// rvalue lifetime too short when equivalent `match` works
1313

1414
extern crate collections;

0 commit comments

Comments
 (0)