File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -202,12 +202,12 @@ pub trait CommandExt: Sealed {
202202    /// Set the root of the child process. This calls `chroot` in the child process before executing 
203203/// the command. 
204204/// 
205- /// This happens before changing to the directory specified with `Command::current_dir`, and  
206- /// that directory will be relative to the new root. 
205+ /// This happens before changing to the directory specified with 
206+ /// [`process::Command::current_dir`], and  that directory will be relative to the new root. 
207207/// 
208- /// If no directory has been specified with ` Command::current_dir`, this will set the directory  
209- /// to `/`, to avoid leaving the current directory outside the chroot. (This is an intentional  
210- /// difference from the underlying `chroot` system call.) 
208+ /// If no directory has been specified with [`process:: Command::current_dir`] , this will set the 
209+ /// directory  to `/`, to avoid leaving the current directory outside the chroot. (This is an 
210+ /// intentional  difference from the underlying `chroot` system call.) 
211211#[ unstable( feature = "process_chroot" ,  issue = "141298" ) ]  
212212    fn  chroot < P :  AsRef < Path > > ( & mut  self ,  dir :  P )  -> & mut  process:: Command ; 
213213} 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments