Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
fix: Allow async functions without send on async trait (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
phated authored May 22, 2023
1 parent 8b3923e commit 9f9fc21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acvm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub trait Backend:
//
// For more details, see https://docs.rs/async-trait/latest/async_trait/
// and https://smallcultfollowing.com/babysteps/blog/2019/10/26/async-fn-in-traits-are-hard/
#[async_trait]
#[async_trait(?Send)]
pub trait CommonReferenceString {
/// The Error type returned by failed function calls in the CommonReferenceString trait.
type Error: std::error::Error; // fully-qualified named because thiserror is `use`d at the top of the crate
Expand Down

0 comments on commit 9f9fc21

Please sign in to comment.