Skip to content

Commit

Permalink
Fix for misspelled comments in tests.
Browse files Browse the repository at this point in the history
Just spelling corrections.
  • Loading branch information
jbcrail committed Feb 5, 2015
1 parent ba2f13e commit fc0fd28
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/test/bench/shootout-reverse-complement.rs
Expand Up @@ -90,12 +90,12 @@ impl Tables {
}
}

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

/// Retreives the complement for `i`.
/// Retrieves the complement for `i`.
fn cpl16(&self, i: u16) -> u16 {
self.table16[i as uint]
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/compile-fail/assoc-inherent.rs
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// Test associated types are forbidden in inherant impls.
// Test associated types are forbidden in inherent impls.

struct Foo;

Expand Down
2 changes: 1 addition & 1 deletion src/test/compile-fail/issue-7364.rs
Expand Up @@ -12,7 +12,7 @@

use std::cell::RefCell;

// Regresion test for issue 7364
// Regression test for issue 7364
static boxed: Box<RefCell<isize>> = box RefCell::new(0);
//~^ ERROR statics are not allowed to have custom pointers
//~| ERROR: the trait `core::marker::Sync` is not implemented for the type
Expand Down
2 changes: 1 addition & 1 deletion src/test/compile-fail/issue-9243.rs
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// Regresion test for issue 9243
// Regression test for issue 9243

struct Test {
mem: isize,
Expand Down
2 changes: 1 addition & 1 deletion src/test/run-pass/issue-7660.rs
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// Regresion test for issue 7660
// Regression test for issue 7660
// rvalue lifetime too short when equivalent `match` works

extern crate collections;
Expand Down

0 comments on commit fc0fd28

Please sign in to comment.