Skip to content
Permalink
Browse files

Update src/test/ui/async-await/multiple-lifetimes/ret-impl-trait-one.rs

Co-Authored-By: matthewjasper <mjjasper1@gmail.com>
  • Loading branch information...
nikomatsakis and matthewjasper committed Jun 29, 2019
1 parent 5bd423a commit 8f9a3aff8b2f13336353a7bc43d7e277a83c4a6b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/test/ui/async-await/multiple-lifetimes/ret-impl-trait-one.rs
@@ -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

0 comments on commit 8f9a3af

Please sign in to comment.
You can’t perform that action at this time.