diff --git a/src/test/ui/issue-50825-1.rs b/src/test/ui/issue-50825-1.rs index d179530c0148..1eee9b7c883c 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 is prefered over +// Make sure that the `impl` bound (): X 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 bc15760e77c5..e45156b96cd2 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: &[()])