Skip to content

Commit e3d0783

Browse files
authored
Merge pull request #1048 from DutchGhost/fix/windowsmut-gat-example
Fix the 'mutness' of the WindowsMut GAT example
2 parents ea55af3 + 1d36316 commit e3d0783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posts/2022-10-28-gats-stabilization.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ trait LendingIterator {
4444
}
4545

4646
pub struct WindowsMut<'x, T> {
47-
slice: &'x [T],
47+
slice: &'x mut [T],
4848
}
4949

5050
impl<'x, T> LendingIterator for WindowsMut<'x, T> {

0 commit comments

Comments
 (0)