diff --git a/src/span.rs b/src/span.rs index dabcabdb0f..6d541210b9 100644 --- a/src/span.rs +++ b/src/span.rs @@ -73,7 +73,7 @@ impl From> for Span { pub type SpanContext = (Span, String); /// Wrapper class for [`Error`], augmenting it with a list of [`SpanContext`]s. -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct WithSpan { inner: E, #[cfg(feature = "span")]