-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[proptest] silence clippy::arc_with_non_send_sync warning with prop_o…
…neof (#363) Often, the strategies passed into `prop_oneof!` are `BoxedStrategy` instances, which are not Send or Sync. Rust 1.72 has a new `arc_with_non_send_sync` clippy lint that fires in these cases. The double-curly-braces are not strictly required, but allow the expression to be annotated with an attribute.
- Loading branch information
1 parent
f754b23
commit 466d59d
Showing
1 changed file
with
34 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters