diff options
| author | Weixie Cui <cuiweixie@gmail.com> | 2026-04-09 13:42:03 +0000 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2026-04-14 07:40:47 -0700 |
| commit | 3a528855af73ff1e3bd7f5ac8e9374e27f3144f8 (patch) | |
| tree | 4e635592e6ea1b52cddf1f8bed533d513349fc59 /src/os/exec | |
| parent | 136332571bcc552b9cc3ff8ac44aeb370425e7d7 (diff) | |
| download | go-3a528855af73ff1e3bd7f5ac8e9374e27f3144f8.tar.xz | |
os/exec: doc typo
Change-Id: I623eee6738a8ebb1db2bc5693a9973c58878260c
GitHub-Last-Rev: d7d918d4ede9d7a374a0a51f569c6890d74c8f91
GitHub-Pull-Request: golang/go#78609
Reviewed-on: https://go-review.googlesource.com/c/go/+/764364
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Sean Liao <sean@liao.dev>
Diffstat (limited to 'src/os/exec')
| -rw-r--r-- | src/os/exec/exec.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/exec/exec.go b/src/os/exec/exec.go index 24cd6b141a..fb1a8d53ad 100644 --- a/src/os/exec/exec.go +++ b/src/os/exec/exec.go @@ -1268,7 +1268,7 @@ func dedupEnv(env []string) ([]string, error) { // dedupEnvCase is dedupEnv with a case option for testing. // If caseInsensitive is true, the case of keys is ignored. -// If nulOK is false, items containing NUL characters are allowed. +// If nulOK is false, items containing NUL characters are rejected. func dedupEnvCase(caseInsensitive, nulOK bool, env []string) ([]string, error) { // Construct the output in reverse order, to preserve the // last occurrence of each key. |
