From 33673d7aa1b17529c885b9347f5fa7111e9a7b30 Mon Sep 17 00:00:00 2001 From: Mikhail Katychev Date: Thu, 25 Jul 2024 14:43:25 -0500 Subject: [PATCH] get rid of ?Sized --- iri/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iri/src/lib.rs b/iri/src/lib.rs index 4cd77ee7..1c81ed89 100644 --- a/iri/src/lib.rs +++ b/iri/src/lib.rs @@ -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 ThreadSafeError for E where E: std::error::Error + Send + Sync + 'static + ?Sized {} +impl ThreadSafeError for E where E: std::error::Error + Send + Sync + 'static {}