Skip to content

Commit

Permalink
fix: require Sync for custom errors
Browse files Browse the repository at this point in the history
  • Loading branch information
decahedron1 committed Feb 28, 2024
1 parent 556248a commit 2125963
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 @@ -247,7 +247,7 @@ pub enum Error {
#[error("Failed to get operator output: {0}")]
GetOperatorOutput(ErrorInternal),
#[error("{0}")]
CustomError(#[from] Box<dyn std::error::Error + Send>),
CustomError(#[from] Box<dyn std::error::Error + Send + Sync + 'static>),
#[error("String tensors cannot be borrowed as mutable")]
StringTensorNotMutable
}
Expand Down

0 comments on commit 2125963

Please sign in to comment.