remove std::error::Error constraint not needed from AddSpan impl

This commit is contained in:
@brody4hire - C. Jonathan Brody
2025-01-29 19:59:15 -05:00
committed by Connor Fitzgerald
parent 58cbb93213
commit a1185b21cc

View File

@@ -327,10 +327,7 @@ pub(crate) trait AddSpan: Sized {
fn with_span_handle<T, A: SpanProvider<T>>(self, handle: Handle<T>, arena: &A) -> Self::Output;
}
impl<E> AddSpan for E
where
E: Error,
{
impl<E> AddSpan for E {
type Output = WithSpan<Self>;
fn with_span(self) -> WithSpan<Self> {