Skip to content

Commit 8f9a3af

Browse files
Update src/test/ui/async-await/multiple-lifetimes/ret-impl-trait-one.rs
Co-Authored-By: matthewjasper <[email protected]>
1 parent 5bd423a commit 8f9a3af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ async fn async_ret_impl_trait1<'a, 'b>(a: &'a u8, b: &'b u8) -> impl Trait<'a> {
1414
(a, b)
1515
}
1616

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

0 commit comments

Comments
 (0)