Skip to content

Commit 1cc38d0

Browse files
Update posts/2024-09-05-impl-trait-capture-rules.md
Co-authored-by: Tyler Mandry <[email protected]>
1 parent 3cbc57d commit 1cc38d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posts/2024-09-05-impl-trait-capture-rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ This implementation limitation is only temporary and will hopefully be lifted so
224224
fn indices<'s, T>(
225225
slice: &'s [T],
226226
) -> impl Iterator<Item = usize> + 'static {
227-
// -----
227+
// -------
228228
// Return type does not capture references.
229229
0 .. slice.len()
230230
}

0 commit comments

Comments
 (0)