diff options
| author | Joseph Crail <jbcrail@gmail.com> | 2015-02-04 23:04:10 -0500 |
|---|---|---|
| committer | Joseph Crail <jbcrail@gmail.com> | 2015-02-04 23:04:10 -0500 |
| commit | fc0fd289c93d99a5176950e5ae6bfa023595410e (patch) | |
| tree | 45332e7417c63e811b09b0e3d80c9f966242185c /src | |
| parent | ba2f13ef0667ce90f55ab0f1506bf5ee7b852d96 (diff) | |
| download | rust-fc0fd289c93d99a5176950e5ae6bfa023595410e.tar.gz rust-fc0fd289c93d99a5176950e5ae6bfa023595410e.zip | |
Fix for misspelled comments in tests.
Just spelling corrections.
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/bench/shootout-reverse-complement.rs | 4 | ||||
| -rw-r--r-- | src/test/compile-fail/assoc-inherent.rs | 2 | ||||
| -rw-r--r-- | src/test/compile-fail/issue-7364.rs | 2 | ||||
| -rw-r--r-- | src/test/compile-fail/issue-9243.rs | 2 | ||||
| -rw-r--r-- | src/test/run-pass/issue-7660.rs | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/src/test/bench/shootout-reverse-complement.rs b/src/test/bench/shootout-reverse-complement.rs index 3a35bea0d59..373c0304bb5 100644 --- a/src/test/bench/shootout-reverse-complement.rs +++ b/src/test/bench/shootout-reverse-complement.rs @@ -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] } diff --git a/src/test/compile-fail/assoc-inherent.rs b/src/test/compile-fail/assoc-inherent.rs index ba8e4a652d3..e68c3e30b9a 100644 --- a/src/test/compile-fail/assoc-inherent.rs +++ b/src/test/compile-fail/assoc-inherent.rs @@ -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; diff --git a/src/test/compile-fail/issue-7364.rs b/src/test/compile-fail/issue-7364.rs index 2e644b65402..465a38111ba 100644 --- a/src/test/compile-fail/issue-7364.rs +++ b/src/test/compile-fail/issue-7364.rs @@ -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 diff --git a/src/test/compile-fail/issue-9243.rs b/src/test/compile-fail/issue-9243.rs index 808aa098c5a..7424a45d044 100644 --- a/src/test/compile-fail/issue-9243.rs +++ b/src/test/compile-fail/issue-9243.rs @@ -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, diff --git a/src/test/run-pass/issue-7660.rs b/src/test/run-pass/issue-7660.rs index 8a953cea904..9e36b1f5082 100644 --- a/src/test/run-pass/issue-7660.rs +++ b/src/test/run-pass/issue-7660.rs @@ -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; |
