Skip to content

Commit

Permalink
Make Other error Send + Sync.
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-graj committed Jun 13, 2024
1 parent d30270c commit f173ae6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# v0.4.1
- Impose `Send + Sync` bounds on `Error::Other`
# v0.4.0
- Delete `EnumExt`
- Bump dependencies, and rust version to 2021
Expand Down
2 changes: 1 addition & 1 deletion bin-proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bin-proto"
version = "0.4.0"
version = "0.4.1"
authors = [
"Wojciech Graj <[email protected]>",
"Dylan McKay <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion bin-proto/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ pub enum Error {
#[error("received unknown enum discriminant '{0}'")]
UnknownEnumDiscriminant(String),
#[error("{0}")]
Other(Box<dyn std::error::Error>),
Other(Box<dyn std::error::Error + Send + Sync>),
}

0 comments on commit f173ae6

Please sign in to comment.