Skip to content

Commit

Permalink
Make errors be Sync as well as Send
Browse files Browse the repository at this point in the history
This is required by keyring, apparently.
  • Loading branch information
brotskydotcom committed Jul 10, 2024
1 parent fe03120 commit 41fdd24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use std::{error, fmt};
pub enum Error {
/// An error occurred decrypting a response message.
/// The type of the error will depend on which crypto is being used.
Crypto(Box<dyn (error::Error) + Send>),
Crypto(Box<dyn (error::Error) + Send + Sync>),
/// A bad path was handed to the secret service.
Path(String),
/// The response value of a secret service call couldn't be parsed.
Expand Down

0 comments on commit 41fdd24

Please sign in to comment.