From a1185b21cc9781fc602f9f26ed4339c303c45f22 Mon Sep 17 00:00:00 2001 From: "@brody4hire - C. Jonathan Brody" Date: Wed, 29 Jan 2025 19:59:15 -0500 Subject: [PATCH] remove `std::error::Error` constraint not needed from AddSpan impl --- naga/src/span.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/naga/src/span.rs b/naga/src/span.rs index 2a5538b421..b098bf83e5 100644 --- a/naga/src/span.rs +++ b/naga/src/span.rs @@ -327,10 +327,7 @@ pub(crate) trait AddSpan: Sized { fn with_span_handle>(self, handle: Handle, arena: &A) -> Self::Output; } -impl AddSpan for E -where - E: Error, -{ +impl AddSpan for E { type Output = WithSpan; fn with_span(self) -> WithSpan {