Skip to content

Commit

Permalink
metrics-util: derive Clone for Snapshotter (metrics-rs#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtechkral authored Apr 17, 2024
1 parent 5f9750f commit 65f6e65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metrics-util/src/debugging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ impl Inner {
}

/// Captures point-in-time snapshots of [`DebuggingRecorder`].
#[derive(Clone)]
pub struct Snapshotter {
inner: Arc<Inner>,
}
Expand Down

0 comments on commit 65f6e65

Please sign in to comment.