about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2018-06-08 17:00:49 +0100
committerMatthew Jasper <mjjasper1@gmail.com>2018-06-08 17:00:49 +0100
commit9d7613abeec1db5613c331d9e69e102f9b22f844 (patch)
tree9faa86faf805805c766934a54c92eccda81a949f /src/test
parent0476a875d19bd79a4755d0e086cb5b62492aa66a (diff)
downloadrust-9d7613abeec1db5613c331d9e69e102f9b22f844.tar.gz
rust-9d7613abeec1db5613c331d9e69e102f9b22f844.zip
Fix a typo
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/issue-50825-1.rs2
-rw-r--r--src/test/ui/issue-50825.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/issue-50825-1.rs b/src/test/ui/issue-50825-1.rs
index d179530c014..1eee9b7c883 100644
--- a/src/test/ui/issue-50825-1.rs
+++ b/src/test/ui/issue-50825-1.rs
@@ -10,7 +10,7 @@
 
 // run-pass
 // regression test for issue #50825
-// Make sure that the `impl` bound (): X<T = ()> is prefered over
+// Make sure that the `impl` bound (): X<T = ()> is preferred over
 // the (): X bound in the where clause.
 
 trait X {
diff --git a/src/test/ui/issue-50825.rs b/src/test/ui/issue-50825.rs
index bc15760e77c..e45156b96cd 100644
--- a/src/test/ui/issue-50825.rs
+++ b/src/test/ui/issue-50825.rs
@@ -10,7 +10,7 @@
 
 // run-pass
 // regression test for issue #50825
-// Make sure that the built-in bound {integer}: Sized is prefered over
+// Make sure that the built-in bound {integer}: Sized is preferred over
 // the u64: Sized bound in the where clause.
 
 fn foo(y: &[()])