Skip to content

Commit 519e517

Browse files
authored
Update issue-77175.rs
1 parent c6a9554 commit 519e517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/lifetimes/issue-77175.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// once. This was obviously wrong since the lifetime is used twice: For the s3
77
// parameter and the return type. The issue was caused by the compiler
88
// desugaring the async function into a coroutine that uses only a single
9-
// lifetime, which then the validator complained about becauase of the
9+
// lifetime, which then the validator complained about because of the
1010
// single_use_lifetimes constraints.
1111
async fn bar<'a>(s1: String, s2: &'_ str, s3: &'a str) -> &'a str {
1212
s3

0 commit comments

Comments
 (0)