impl Clone for WithSpan<E> (#1620)

This commit is contained in:
Jakob Hellermann
2021-12-21 21:14:10 +01:00
committed by GitHub
parent f9b348557a
commit 54178dede2

View File

@@ -73,7 +73,7 @@ impl From<Range<usize>> 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<E> {
inner: E,
#[cfg(feature = "span")]