about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-05-05 21:11:41 +0200
committerGeorg Brandl <georg@python.org>2016-05-05 21:12:37 +0200
commit26eb2bef2591ddb4cdf45d256cdcfa7c7353b0fc (patch)
treed255f3d826d7e1fe47544e837f80a30aacf452bf /src/test
parent3f65afa6946ee4a6b1d619aee69e1f638edfb662 (diff)
downloadrust-26eb2bef2591ddb4cdf45d256cdcfa7c7353b0fc.tar.gz
rust-26eb2bef2591ddb4cdf45d256cdcfa7c7353b0fc.zip
Fix some some duplicate words.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/codegen-units/item-collection/cross-crate-closures.rs2
-rw-r--r--src/test/run-pass/regions-lub-ref-ref-rc.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/codegen-units/item-collection/cross-crate-closures.rs b/src/test/codegen-units/item-collection/cross-crate-closures.rs
index 30f3ef12d07..546bb235a5f 100644
--- a/src/test/codegen-units/item-collection/cross-crate-closures.rs
+++ b/src/test/codegen-units/item-collection/cross-crate-closures.rs
@@ -27,7 +27,7 @@ fn main() {
     //~ TRANS_ITEM fn cgu_extern_closures::inlined_fn_generic[0]::{{closure}}[0]<i32>
     let _ = cgu_extern_closures::inlined_fn_generic(3, 4, 5i32);
 
-    // Nothing should be generated for this call, we just link to the instance instance
+    // Nothing should be generated for this call, we just link to the instance
     // in the extern crate.
     let _ = cgu_extern_closures::non_inlined_fn(6, 7);
 }
diff --git a/src/test/run-pass/regions-lub-ref-ref-rc.rs b/src/test/run-pass/regions-lub-ref-ref-rc.rs
index 41c64197acb..ade742863a9 100644
--- a/src/test/run-pass/regions-lub-ref-ref-rc.rs
+++ b/src/test/run-pass/regions-lub-ref-ref-rc.rs
@@ -9,7 +9,7 @@
 // except according to those terms.
 
 // Test a corner case of LUB coercion. In this case, one arm of the
-// match requires a deref coercion and other other doesn't, and there
+// match requires a deref coercion and the other doesn't, and there
 // is an extra `&` on the `rc`. We want to be sure that the lifetime
 // assigned to this `&rc` value is not `'a` but something smaller.  In
 // other words, the type from `rc` is `&'a Rc<String>` and the type