diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2019-06-24 15:55:39 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2019-07-02 12:25:23 -0400 |
| commit | 076b0d0f5cc33f108fda043c2e6e12229d734cf4 (patch) | |
| tree | b0a5482cc869a61f482a7d0fa26999b50612c3a6 /src/test | |
| parent | 9217909518cecc3b8636e970bfcb6c0be231e3f2 (diff) | |
| download | rust-076b0d0f5cc33f108fda043c2e6e12229d734cf4.tar.gz rust-076b0d0f5cc33f108fda043c2e6e12229d734cf4.zip | |
more nits + typos
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/impl-trait/multiple-lifetimes/ordinary-bounds-pick-original-existential.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/impl-trait/multiple-lifetimes/ordinary-bounds-pick-original.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/impl-trait/multiple-lifetimes/ordinary-bounds-pick-original-existential.rs b/src/test/ui/impl-trait/multiple-lifetimes/ordinary-bounds-pick-original-existential.rs index a1ec89e8fbd..a103e21e047 100644 --- a/src/test/ui/impl-trait/multiple-lifetimes/ordinary-bounds-pick-original-existential.rs +++ b/src/test/ui/impl-trait/multiple-lifetimes/ordinary-bounds-pick-original-existential.rs @@ -10,7 +10,7 @@ trait Trait<'a, 'b> { } impl<T> Trait<'_, '_> for T { } // Here we wind up selecting `'a` and `'b` in the hidden type because -// those are the types that appear inth e original values. +// those are the types that appear in the original values. existential type Foo<'a, 'b>: Trait<'a, 'b>; diff --git a/src/test/ui/impl-trait/multiple-lifetimes/ordinary-bounds-pick-original.rs b/src/test/ui/impl-trait/multiple-lifetimes/ordinary-bounds-pick-original.rs index 21979b00179..43f8bd71e41 100644 --- a/src/test/ui/impl-trait/multiple-lifetimes/ordinary-bounds-pick-original.rs +++ b/src/test/ui/impl-trait/multiple-lifetimes/ordinary-bounds-pick-original.rs @@ -9,7 +9,7 @@ trait Trait<'a, 'b> { } impl<T> Trait<'_, '_> for T { } // Here we wind up selecting `'a` and `'b` in the hidden type because -// those are the types that appear inth e original values. +// those are the types that appear in the original values. fn upper_bounds<'a, 'b>(a: &'a u8, b: &'b u8) -> impl Trait<'a, 'b> { // In this simple case, you have a hidden type `(&'0 u8, &'1 u8)` and constraints like |
