clarify documentation about variable substituion

This commit is contained in:
Milo 2023-09-25 14:53:38 +01:00 committed by GitHub
parent af68593179
commit 7bda9b1255
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -609,7 +609,7 @@ pub fn new<S: AsRef<OsStr>>(program: S) -> Command {
/// ///
/// Note that the argument is not passed through a shell, but given /// Note that the argument is not passed through a shell, but given
/// literally to the program. This means that shell syntax like quotes, /// literally to the program. This means that shell syntax like quotes,
/// escaped characters, word splitting, glob patterns, substitution, etc. /// escaped characters, word splitting, glob patterns, variable substitution, etc.
/// have no effect. /// have no effect.
/// ///
/// # Examples /// # Examples