Skip to content

Commit

Permalink
docs: Fix comment
Browse files Browse the repository at this point in the history
Signed-off-by: John Nunley <[email protected]>
  • Loading branch information
notgull committed Mar 30, 2024
1 parent 7e8b785 commit 5a0de42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/single.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl<T> Single<T> {
Some(unsafe { prev_value.assume_init() })
};

// Unlock the slot.
// Return the old value.
return Ok(prev_value);
}

Expand Down

0 comments on commit 5a0de42

Please sign in to comment.