Skip to content

Commit

Permalink
Remove Sync requirement for ResultFuture
Browse files Browse the repository at this point in the history
  • Loading branch information
allada committed Jan 22, 2021
1 parent 40ba2fb commit 59720c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cas/store/store_trait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub enum StoreType {
Memory,
}

pub type ResultFuture<'a, Res> = Pin<Box<dyn Future<Output = Result<Res, Error>> + 'a + Sync + Send>>;
pub type ResultFuture<'a, Res> = Pin<Box<dyn Future<Output = Result<Res, Error>> + 'a + Send>>;

#[async_trait]
pub trait StoreTrait: Sync + Send + Unpin {
Expand Down

0 comments on commit 59720c9

Please sign in to comment.