We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e0a613 commit 49879e9Copy full SHA for 49879e9
src/status.rs
@@ -305,6 +305,14 @@ impl<'a> DoubleEndedIterator for StatusIter<'a> {
305
}
306
impl<'a> ExactSizeIterator for StatusIter<'a> {}
307
308
+impl<'a> IntoIterator for &'a Statuses<'a> {
309
+ type Item = StatusEntry<'a>;
310
+ type IntoIter = StatusIter<'a>;
311
+ fn into_iter(self) -> Self::IntoIter {
312
+ self.iter()
313
+ }
314
+}
315
+
316
impl<'statuses> StatusEntry<'statuses> {
317
/// Access the bytes for this entry's corresponding pathname
318
pub fn path_bytes(&self) -> &[u8] {
0 commit comments