diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-12-30 19:34:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-30 19:34:56 +0100 |
| commit | 4b9e3daa0b7ef92d64d931797bfd16c0debea9db (patch) | |
| tree | 12259956a5beafcea5c3f67c45124b66854cb6b3 /tests | |
| parent | 6c12546dc0b4acbc1c9962e803dc2782252a8f8c (diff) | |
| parent | 4c279fb7af22ac24833464a5d7ffa56ca79a251d (diff) | |
| download | rust-4b9e3daa0b7ef92d64d931797bfd16c0debea9db.tar.gz rust-4b9e3daa0b7ef92d64d931797bfd16c0debea9db.zip | |
Rollup merge of #134911 - HigherOrderLogic:master, r=onur-ozkan
chore: fix typos This PR fixes typos errors in docstring only, so functionality wise, it should stay the same.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/associated-types/associated-types-eq-2.rs | 2 | ||||
| -rw-r--r-- | tests/ui/associated-types/project-defer-unification.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/associated-types/associated-types-eq-2.rs b/tests/ui/associated-types/associated-types-eq-2.rs index 88eb2981061..9d2860d1b30 100644 --- a/tests/ui/associated-types/associated-types-eq-2.rs +++ b/tests/ui/associated-types/associated-types-eq-2.rs @@ -33,7 +33,7 @@ fn baz<I: Tr1>(_x: &<I as Tr1<A=Bar>>::A) {} trait Tr2<T1, T2, T3> { } -// Test for when wrongly specifed equality constraint's ident +// Test for when wrongly specified equality constraint's ident // matches some generic param's ident // (Note: E0229 is emitted only for the first erroneous equality // constraint (T2) not for any subequent ones (e.g. T3)) diff --git a/tests/ui/associated-types/project-defer-unification.rs b/tests/ui/associated-types/project-defer-unification.rs index cec088496fd..b51228ef411 100644 --- a/tests/ui/associated-types/project-defer-unification.rs +++ b/tests/ui/associated-types/project-defer-unification.rs @@ -93,7 +93,7 @@ where Pix: Pixel<Subpixel=u8> + 'static, let mut indices: ImageBuffer<_,Vec<_>> = loop { }; for (pixel, idx) in image.pixels().zip(indices.pixels_mut()) { - // failured occurred here ^^ because we were requiring that we + // failure occurred here ^^ because we were requiring that we // could project Pixel or Subpixel from `T_indices` (type of // `indices`), but the type is insufficiently constrained // until we reach the return below. |
