about summary refs log tree commit diff
path: root/library/std/src/sys_common/process.rs
diff options
context:
space:
mode:
authorJane Lusby <jlusby42@gmail.com>2021-10-05 15:09:11 -0700
committerGitHub <noreply@github.com>2021-10-05 15:09:11 -0700
commit5e1941c058f4437c7a7b03b76d96d3d6d5c8aa3d (patch)
treed632ca98dc6a9b0212e70f588043d486f398a8f0 /library/std/src/sys_common/process.rs
parentaf83a9613c00b358b5a969e4bcffd6842f87588d (diff)
downloadrust-5e1941c058f4437c7a7b03b76d96d3d6d5c8aa3d.tar.gz
rust-5e1941c058f4437c7a7b03b76d96d3d6d5c8aa3d.zip
Apply suggestions from code review
Diffstat (limited to 'library/std/src/sys_common/process.rs')
-rw-r--r--library/std/src/sys_common/process.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/std/src/sys_common/process.rs b/library/std/src/sys_common/process.rs
index 124f27d2640..3d71219756a 100644
--- a/library/std/src/sys_common/process.rs
+++ b/library/std/src/sys_common/process.rs
@@ -106,13 +106,13 @@ impl CommandEnv {
 /// This struct is created by
 /// [`Command::get_envs`][crate::process::Command::get_envs]. See its
 /// documentation for more.
-#[stable(feature = "command_access", since = "1.56.0")]
+#[stable(feature = "command_access", since = "1.57.0")]
 #[derive(Debug)]
 pub struct CommandEnvs<'a> {
     iter: crate::collections::btree_map::Iter<'a, EnvKey, Option<OsString>>,
 }
 
-#[stable(feature = "command_access", since = "1.56.0")]
+#[stable(feature = "command_access", since = "1.57.0")]
 impl<'a> Iterator for CommandEnvs<'a> {
     type Item = (&'a OsStr, Option<&'a OsStr>);
     fn next(&mut self) -> Option<Self::Item> {
@@ -123,7 +123,7 @@ impl<'a> Iterator for CommandEnvs<'a> {
     }
 }
 
-#[stable(feature = "command_access", since = "1.56.0")]
+#[stable(feature = "command_access", since = "1.57.0")]
 impl<'a> ExactSizeIterator for CommandEnvs<'a> {
     fn len(&self) -> usize {
         self.iter.len()