Skip to content

Commit

Permalink
Update src/test/ui/async-await/multiple-lifetimes/ret-impl-trait-one.rs
Browse files Browse the repository at this point in the history
Co-Authored-By: matthewjasper <mjjasper1@gmail.com>
  • Loading branch information
nikomatsakis and matthewjasper committed Jul 2, 2019
1 parent 5bd423a commit 8f9a3af
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -14,7 +14,7 @@ async fn async_ret_impl_trait1<'a, 'b>(a: &'a u8, b: &'b u8) -> impl Trait<'a> {
(a, b)
}

// As above, but `'b: 'a`, so return type ca be inferred to `(&'a u8,
// As above, but `'b: 'a`, so return type can be inferred to `(&'a u8,
// &'a u8)`.
async fn async_ret_impl_trait2<'a, 'b>(a: &'a u8, b: &'b u8) -> impl Trait<'a>
where
Expand Down

0 comments on commit 8f9a3af

Please sign in to comment.