diff options
| author | Krushnal Patil <krushnalpatil1111@gmail.com> | 2026-03-12 11:27:05 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-03-18 13:52:53 -0700 |
| commit | 8e137ff9953d7a535170c9f3ff2c55811e7e13c3 (patch) | |
| tree | d804b24c8bb34a6c6c4782c143acd3c16dab4ea6 /src/runtime | |
| parent | ca3c2a6790cc7744fa340a497b86d0b479c1d4e3 (diff) | |
| download | go-8e137ff9953d7a535170c9f3ff2c55811e7e13c3.tar.xz | |
sync: modernize examples using newer ranged for loops
The examples in sync package currently use the traditional
for loop pattern.
These examples are modernized using the ranged for loops.
Change-Id: Icc75928f832677f43cde5b7db6cb4590fde6457d
GitHub-Last-Rev: 4836c1604264900c82296a8576a46f11900937cb
GitHub-Pull-Request: golang/go#78109
Reviewed-on: https://go-review.googlesource.com/c/go/+/754688
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Mark Freeman <markfreeman@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Jorropo <jorropo.pgm@gmail.com>
Reviewed-by: Jorropo <jorropo.pgm@gmail.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
