aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorStefan Dombrowski <sdo451@gmail.com>2022-06-06 08:23:37 +0000
committerGopher Robot <gobot@golang.org>2023-03-29 22:44:59 +0000
commitfde1b139be35c655437a8df668dddf0367c3a67c (patch)
treea4309697c1a8e71ac7f5c082662ac25b7e5efe4d /src/encoding
parentb431277da850b47cd05c5e7697303c0d6fbe2cea (diff)
downloadgo-fde1b139be35c655437a8df668dddf0367c3a67c.tar.xz
os: don't check for IsExist in MkdirAll example
If a directory already exists, then MkdirAll returns nil. Therefore the check with IsExist is not necessary. Change-Id: Idf83c056f64bb56f49eb2b649af7827b759bcd7c GitHub-Last-Rev: 1f29873d0cd852642938cbd899549b9bf04301da GitHub-Pull-Request: golang/go#53242 Reviewed-on: https://go-review.googlesource.com/c/go/+/410434 Run-TryBot: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> Auto-Submit: Ian Lance Taylor <iant@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions