summaryrefslogtreecommitdiffstats
path: root/library/std/src/sys/unsupported/process.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/unsupported/process.rs')
-rw-r--r--library/std/src/sys/unsupported/process.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std/src/sys/unsupported/process.rs b/library/std/src/sys/unsupported/process.rs
index 42a1ff730..633f17c05 100644
--- a/library/std/src/sys/unsupported/process.rs
+++ b/library/std/src/sys/unsupported/process.rs
@@ -200,6 +200,9 @@ impl<'a> Iterator for CommandArgs<'a> {
fn next(&mut self) -> Option<&'a OsStr> {
None
}
+ fn size_hint(&self) -> (usize, Option<usize>) {
+ (0, Some(0))
+ }
}
impl<'a> ExactSizeIterator for CommandArgs<'a> {}