]> Cypherpunks.ru repositories - gostls13.git/commit
flag: remove "// BUG" comment
authorZamicol <zamicol@gmail.com>
Fri, 14 Oct 2022 03:10:28 +0000 (03:10 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 17 Oct 2022 14:50:31 +0000 (14:50 +0000)
commit9abcc487f8b04db8fd46eaa429a7eef5a5228241
treefe736d3a6d1b87691fd5345f42ba4ae6205ebc8c
parent3d92205ef5ed42147376d929e0f59c765974e345
flag: remove "// BUG" comment

Remove a vestigial " // BUG" comment as there is no bug in the relevant code section and comment predated other changes.  Also removed a needless allocation and conformed to the "v, ok := a[x]" standard convention.  Tests are passing.

Change-Id: Id28ad1baf77447052b54b341f018e573bac0c11a
GitHub-Last-Rev: 26084698bfc0972d7e0fec0de4f31cc87e3a5f7a
GitHub-Pull-Request: golang/go#56210
Reviewed-on: https://go-review.googlesource.com/c/go/+/442815
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Rob Pike <r@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/flag/flag.go