Skip to content

Commit

Permalink
get rid of ?Sized
Browse files Browse the repository at this point in the history
  • Loading branch information
mkatychev committed Jul 25, 2024
1 parent 6081584 commit 33673d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ pub use ThreadSafeError as Error;

/// An error trait meant to enable sending errors safely across threads.
pub trait ThreadSafeError: std::error::Error + Send + Sync + 'static {}
impl<E> ThreadSafeError for E where E: std::error::Error + Send + Sync + 'static + ?Sized {}
impl<E> ThreadSafeError for E where E: std::error::Error + Send + Sync + 'static {}

0 comments on commit 33673d7

Please sign in to comment.