mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-20 19:42:17 +00:00
chore(lint): clippy rules redundant_clone (#2554)
This commit is contained in:
@@ -84,7 +84,7 @@ mod tests {
|
||||
assert!(Arc::ptr_eq(&metrics1, &metrics2));
|
||||
|
||||
// Create a MetricsCollector with the global metrics
|
||||
let collector = MetricsCollector::new(metrics1.clone(), 100);
|
||||
let collector = MetricsCollector::new(metrics1, 100);
|
||||
|
||||
// Record some data
|
||||
let rt = tokio::runtime::Runtime::new().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user