From e6b55899a2d2c10c0df77a5ca56e6c938a4d518f Mon Sep 17 00:00:00 2001 From: Leech1 Date: Tue, 14 Apr 2026 11:10:06 +0300 Subject: [PATCH 1/2] Fix pointer typo --- src/atomic.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atomic.md b/src/atomic.md index 5a3bda32..9a72a8b7 100644 --- a/src/atomic.md +++ b/src/atomic.md @@ -20,7 +20,7 @@ type foo struct { running int32 // atomic } -func (f* foo) start() { +func (f *foo) start() { if atomic.SwapInt32(&f.running, 1) == 1 { // already running… return From 485e7cf51dc625dff00b04a6c8a1105ca29d6159 Mon Sep 17 00:00:00 2001 From: Leech1 <1231130+Leech1@users.noreply.github.com> Date: Tue, 14 Apr 2026 09:23:35 +0000 Subject: [PATCH 2/2] Auto-update style.md --- style.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.md b/style.md index 9fef8120..818eab69 100644 --- a/style.md +++ b/style.md @@ -1263,7 +1263,7 @@ type foo struct { running int32 // atomic } -func (f* foo) start() { +func (f *foo) start() { if atomic.SwapInt32(&f.running, 1) == 1 { // already running… return