From 3d320afa65430da9af6fbb513a5d3987fdb872e9 Mon Sep 17 00:00:00 2001 From: Laurent Cheylus Date: Thu, 26 Jun 2025 19:46:40 +0200 Subject: [PATCH] sync: fix documentation for new_spin_lock function (#24795) --- vlib/sync/sync.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/sync/sync.c.v b/vlib/sync/sync.c.v index e7bb9fae58..b443f52a17 100644 --- a/vlib/sync/sync.c.v +++ b/vlib/sync/sync.c.v @@ -27,7 +27,7 @@ mut: padding [63]u8 // Cache line padding (fills to 64 bytes total) } -// new_spin_lock creates and returns a new SpinLock instance initialized to unlocked state +// new_spin_lock creates and returns a new SpinLock instance initialized to unlocked state. pub fn new_spin_lock() &SpinLock { mut the_lock := &SpinLock{ locked: 0