We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f659fd commit 00f28ebCopy full SHA for 00f28eb
core/src/utils.rs
@@ -26,7 +26,7 @@ use std::error::Error;
26
#[derive(Debug)]
27
pub struct TinkError {
28
msg: String,
29
- src: Option<Box<dyn Error + Send>>,
+ src: Option<Box<dyn Error + Send + Sync>>,
30
}
31
32
impl TinkError {
@@ -73,7 +73,7 @@ impl std::convert::From<String> for TinkError {
73
/// ```
74
pub fn wrap_err<T>(msg: &str, src: T) -> TinkError
75
where
76
- T: Error + Send + 'static,
+ T: Error + Send + Sync + 'static,
77
{
78
TinkError {
79
msg: msg.to_string(),
0 commit comments