Fix a typo

This commit is contained in:
Matthew Jasper 2018-06-08 17:00:49 +01:00
parent 0476a875d1
commit 9d7613abee
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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: &[()])