File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -202,10 +202,10 @@ pub trait CommandExt: Sealed {
202
202
/// Set the root of the child process. This calls `chroot` in the child process before executing
203
203
/// the command.
204
204
///
205
- /// This happens before changing to the directory specified with `Command::current_dir`, and
205
+ /// This happens before changing to the directory specified with [ `Command::current_dir`] , and
206
206
/// that directory will be relative to the new root.
207
207
///
208
- /// If no directory has been specified with `Command::current_dir`, this will set the directory
208
+ /// If no directory has been specified with [ `Command::current_dir`] , this will set the directory
209
209
/// to `/`, to avoid leaving the current directory outside the chroot. (This is an intentional
210
210
/// difference from the underlying `chroot` system call.)
211
211
#[ unstable( feature = "process_chroot" , issue = "141298" ) ]
You can’t perform that action at this time.
0 commit comments