Extra comments + derived traits
This commit is contained in:
@@ -17,6 +17,8 @@ pub(crate) enum MetricEvent {
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
// Note: you should NEVER create more than a single instance of this using 'new()'.
|
||||
// You should always use .clone() to create additional instances
|
||||
struct MixMetrics {
|
||||
inner: Arc<Mutex<MixMetricsInner>>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user