We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16635f9 commit 8aa512dCopy full SHA for 8aa512d
src/libstd/sys/unix/os.rs
@@ -407,6 +407,11 @@ impl Iterator for Env {
407
type Item = (OsString, OsString);
408
fn next(&mut self) -> Option<(OsString, OsString)> { self.iter.next() }
409
fn size_hint(&self) -> (usize, Option<usize>) { self.iter.size_hint() }
410
+ fn count(self) -> usize { self.iter.count() }
411
+ fn nth(&mut self, n: usize) -> Option<(OsString, OsString)> {
412
+ self.iter.nth(n)
413
+ }
414
+ fn last(self) -> Option<(OsString, OsString)> { self.iter.last() }
415
}
416
417
#[cfg(target_os = "macos")]
0 commit comments