about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-10-04 05:02:04 +0200
committerGitHub <noreply@github.com>2023-10-04 05:02:04 +0200
commitd5bd019645a49eb200b5a48de11e0b51f9239eb0 (patch)
treea092d50b67fec363047f42e05c649bd92d28377b
parent36e234a0fa4a97b9c990909032b25d1494439639 (diff)
parent221d0a661ae7579758de4586a8dc0496638d86ff (diff)
downloadrust-d5bd019645a49eb200b5a48de11e0b51f9239eb0.tar.gz
rust-d5bd019645a49eb200b5a48de11e0b51f9239eb0.zip
Rollup merge of #116146 - Milo123459:milo/clarify-arg-documentation, r=thomcc
Clarify `arg` and `args` documentation

Fixes #95400
-rw-r--r--library/std/src/process.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/process.rs b/library/std/src/process.rs
index 6cf3bd619b2..e4ab1c17d96 100644
--- a/library/std/src/process.rs
+++ b/library/std/src/process.rs
@@ -607,7 +607,7 @@ impl Command {
     ///
     /// Note that the argument is not passed through a shell, but given
     /// 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.
     ///
     /// # Examples
@@ -637,7 +637,7 @@ impl Command {
     ///
     /// Note that the arguments are not passed through a shell, but given
     /// 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.
     ///
     /// # Examples