Skip to content

Commit

Permalink
chore: allow clippy::arc_with_non_send_sync in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rvcas committed Sep 13, 2023
1 parent d808197 commit 7b915b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/aiken-project/src/blueprint/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1336,6 +1336,7 @@ pub mod tests {
)
}

#[allow(clippy::arc_with_non_send_sync)]
fn arbitrary_data() -> impl Strategy<Value = Data> {
let leaf = prop_oneof![Just(Data::Opaque), Just(Data::Bytes), Just(Data::Integer)];

Expand All @@ -1362,6 +1363,7 @@ pub mod tests {
})
}

#[allow(clippy::arc_with_non_send_sync)]
fn arbitrary_schema() -> impl Strategy<Value = Schema> {
prop_compose! {
fn data_strategy()(data in arbitrary_data()) -> Schema {
Expand Down

0 comments on commit 7b915b7

Please sign in to comment.