Skip to content

Commit

Permalink
impl Clone for WithSpan<E> (gfx-rs#1620)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobhellermann authored and kvark committed Dec 29, 2021
1 parent c2328fe commit 40ab5d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/span.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit 40ab5d3

Please sign in to comment.