Skip to content
Snippets Groups Projects
Commit f346e1c6 authored by Bernhard Schuster's avatar Bernhard Schuster Committed by GitHub
Browse files

add Sync + Send + 'static to Box<dyn Error> bound (#7450)


Co-authored-by: default avatarBernhard Schuster <bernhard@parity.io>
parent 9bfaf451
No related merge requests found
......@@ -49,7 +49,7 @@ pub enum Error {
InvalidListenMultiaddress,
/// Application specific error chain sequence forwarder.
#[error(transparent)]
Application(#[from] Box<dyn std::error::Error>),
Application(#[from] Box<dyn std::error::Error + Send + Sync + 'static>),
/// URI error.
#[error("Invalid URI; expecting either a secret URI or a public URI.")]
InvalidUri(crypto::PublicError),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment