diff options
| author | Jade <software@lfcode.ca> | 2021-08-28 12:47:04 -0700 |
|---|---|---|
| committer | Jade <software@lfcode.ca> | 2021-08-28 12:47:04 -0700 |
| commit | af83a9613c00b358b5a969e4bcffd6842f87588d (patch) | |
| tree | c6a3ef00a51d2f8da20d89be620c61048b00fae9 /library/std/src/sys_common/process.rs | |
| parent | 42a2a53ec13b0e6e915acd09a2a9a963e5fa3b92 (diff) | |
| download | rust-af83a9613c00b358b5a969e4bcffd6842f87588d.tar.gz rust-af83a9613c00b358b5a969e4bcffd6842f87588d.zip | |
std: Stabilize command_access
Tracking issue: #44434
Diffstat (limited to 'library/std/src/sys_common/process.rs')
| -rw-r--r-- | library/std/src/sys_common/process.rs | 6 |
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 38007d5c414..124f27d2640 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. -#[unstable(feature = "command_access", issue = "44434")] +#[stable(feature = "command_access", since = "1.56.0")] #[derive(Debug)] pub struct CommandEnvs<'a> { iter: crate::collections::btree_map::Iter<'a, EnvKey, Option<OsString>>, } -#[unstable(feature = "command_access", issue = "44434")] +#[stable(feature = "command_access", since = "1.56.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> { } } -#[unstable(feature = "command_access", issue = "44434")] +#[stable(feature = "command_access", since = "1.56.0")] impl<'a> ExactSizeIterator for CommandEnvs<'a> { fn len(&self) -> usize { self.iter.len() |
