@@ -115,7 +115,7 @@ use crate::path::Path;
115115use crate :: str;
116116use crate :: sys:: pipe:: { read2, AnonPipe } ;
117117use crate :: sys:: process as imp;
118- #[ stable( feature = "command_access" , since = "1.56 .0" ) ]
118+ #[ stable( feature = "command_access" , since = "1.57 .0" ) ]
119119pub use crate :: sys_common:: process:: CommandEnvs ;
120120use crate :: sys_common:: { AsInner , AsInnerMut , FromInner , IntoInner } ;
121121
@@ -948,7 +948,7 @@ impl Command {
948948 /// let cmd = Command::new("echo");
949949 /// assert_eq!(cmd.get_program(), "echo");
950950 /// ```
951- #[ stable( feature = "command_access" , since = "1.56 .0" ) ]
951+ #[ stable( feature = "command_access" , since = "1.57 .0" ) ]
952952 pub fn get_program ( & self ) -> & OsStr {
953953 self . inner . get_program ( )
954954 }
@@ -970,7 +970,7 @@ impl Command {
970970 /// let args: Vec<&OsStr> = cmd.get_args().collect();
971971 /// assert_eq!(args, &["first", "second"]);
972972 /// ```
973- #[ stable( feature = "command_access" , since = "1.56 .0" ) ]
973+ #[ stable( feature = "command_access" , since = "1.57 .0" ) ]
974974 pub fn get_args ( & self ) -> CommandArgs < ' _ > {
975975 CommandArgs { inner : self . inner . get_args ( ) }
976976 }
@@ -1001,7 +1001,7 @@ impl Command {
10011001 /// (OsStr::new("TZ"), None)
10021002 /// ]);
10031003 /// ```
1004- #[ stable( feature = "command_access" , since = "1.56 .0" ) ]
1004+ #[ stable( feature = "command_access" , since = "1.57 .0" ) ]
10051005 pub fn get_envs ( & self ) -> CommandEnvs < ' _ > {
10061006 self . inner . get_envs ( )
10071007 }
@@ -1021,7 +1021,7 @@ impl Command {
10211021 /// cmd.current_dir("/bin");
10221022 /// assert_eq!(cmd.get_current_dir(), Some(Path::new("/bin")));
10231023 /// ```
1024- #[ stable( feature = "command_access" , since = "1.56 .0" ) ]
1024+ #[ stable( feature = "command_access" , since = "1.57 .0" ) ]
10251025 pub fn get_current_dir ( & self ) -> Option < & Path > {
10261026 self . inner . get_current_dir ( )
10271027 }
@@ -1053,13 +1053,13 @@ impl AsInnerMut<imp::Command> for Command {
10531053///
10541054/// This struct is created by [`Command::get_args`]. See its documentation for
10551055/// more.
1056- #[ stable( feature = "command_access" , since = "1.56 .0" ) ]
1056+ #[ stable( feature = "command_access" , since = "1.57 .0" ) ]
10571057#[ derive( Debug ) ]
10581058pub struct CommandArgs < ' a > {
10591059 inner : imp:: CommandArgs < ' a > ,
10601060}
10611061
1062- #[ stable( feature = "command_access" , since = "1.56 .0" ) ]
1062+ #[ stable( feature = "command_access" , since = "1.57 .0" ) ]
10631063impl < ' a > Iterator for CommandArgs < ' a > {
10641064 type Item = & ' a OsStr ;
10651065 fn next ( & mut self ) -> Option < & ' a OsStr > {
@@ -1070,7 +1070,7 @@ impl<'a> Iterator for CommandArgs<'a> {
10701070 }
10711071}
10721072
1073- #[ stable( feature = "command_access" , since = "1.56 .0" ) ]
1073+ #[ stable( feature = "command_access" , since = "1.57 .0" ) ]
10741074impl < ' a > ExactSizeIterator for CommandArgs < ' a > {
10751075 fn len ( & self ) -> usize {
10761076 self . inner . len ( )
0 commit comments