Skip to content

Commit

Permalink
mutex.rs : remove unnecessary parentheses (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
OccupyMars2025 committed Jun 12, 2023
1 parent 5be251f commit 723b2d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mutex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ type InnerMutexGuard<'a, T> = self::ticket::TicketMutexGuard<'a, T>;
/// let barrier = Arc::new(Barrier::new(thread_count + 1));
///
/// # let mut ts = Vec::new();
/// for _ in (0..thread_count) {
/// for _ in 0..thread_count {
/// let my_barrier = barrier.clone();
/// let my_lock = spin_mutex.clone();
/// # let t =
Expand Down

0 comments on commit 723b2d7

Please sign in to comment.