Skip to content

Commit 3d320af

Browse files
authored
sync: fix documentation for new_spin_lock function (#24795)
1 parent cf69806 commit 3d320af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎vlib/sync/sync.c.v‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ mut:
2727
padding [63]u8 // Cache line padding (fills to 64 bytes total)
2828
}
2929

30-
// new_spin_lock creates and returns a new SpinLock instance initialized to unlocked state
30+
// new_spin_lock creates and returns a new SpinLock instance initialized to unlocked state.
3131
pub fn new_spin_lock() &SpinLock {
3232
mut the_lock := &SpinLock{
3333
locked: 0

0 commit comments

Comments
 (0)