about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-05-07 15:35:19 -0400
committerSteve Klabnik <steve@steveklabnik.com>2016-05-07 15:35:19 -0400
commitaa63f54e3752382f59cc68aba8dae0c0d7bdda5a (patch)
treefdc974713887db2abee0347b0971e66ed1a9ed52 /src/test
parent1ce94053800c192f2d9c7126dc26297cbbfc73ff (diff)
parent26eb2bef2591ddb4cdf45d256cdcfa7c7353b0fc (diff)
downloadrust-aa63f54e3752382f59cc68aba8dae0c0d7bdda5a.tar.gz
rust-aa63f54e3752382f59cc68aba8dae0c0d7bdda5a.zip
Rollup merge of #33438 - birkenfeld:dup-words, r=steveklabnik
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