impl Clone for WithSpan<E> (#1620)

This commit is contained in:
Jakob Hellermann authored and GitHub committed 2021-12-21 20:14:10 +00:00
1 parent f9b348557a
commit 54178dede2
1 file changed
+1 -1
+1 -1
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")]