Skip to content

Commit

Permalink
Remove unnecessary qualifications
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Apr 9, 2023
1 parent 2a96853 commit 790f54b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crossbeam-queue/src/array_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,9 +528,9 @@ impl<T> Iterator for IntoIter<T> {
lap.wrapping_add(value.one_lap)
};
*value.head.get_mut() = new;
Option::Some(val)
Some(val)
} else {
Option::None
None
}
}
}

0 comments on commit 790f54b

Please sign in to comment.