Skip to content

Commit

Permalink
fix: checks need to be send and sync
Browse files Browse the repository at this point in the history
Signed-off-by: Gustavo Inacio <gustavo@semiotic.ai>
  • Loading branch information
gusinacio committed Mar 8, 2024
1 parent c6c02d2 commit 78ae2a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_core/src/checks/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
use crate::tap_receipt::{Checking, ReceiptError, ReceiptWithState};
use std::sync::{Arc, RwLock};

pub type ReceiptCheck = Arc<dyn Check>;
pub type ReceiptCheck = Arc<dyn Check + Sync + Send>;

pub type CheckResult = anyhow::Result<()>;

Expand Down

0 comments on commit 78ae2a8

Please sign in to comment.