- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
Closed
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
Description
When borrows are involved, it is a common pattern to have a foo_mut variation of foo method. For example, [T] slices have a chunks method that takes &self and returns an iterator of &[T], and a chunks_mut method that is identical except that it takes &mut self and returns an iterator of &mut [T].
The windows method similarly takes &self and return an iterator of &[T]. However, the corresponding windows_mut does not exist, although it could sometimes be useful.
kornelski, Kerollmops, timvisee and EduMenges
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.