From 63ddf1088af85907ba50d6dd31bc0a0abe4c3992 Mon Sep 17 00:00:00 2001 From: Michael Jeffrey Date: Fri, 7 Jun 2024 14:56:21 -0700 Subject: [PATCH] Removing derive Default for Speedtest I don't think a zeroed out Speedtest is a sensible default --- coverage_point_calculator/src/speedtest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coverage_point_calculator/src/speedtest.rs b/coverage_point_calculator/src/speedtest.rs index 20ff711b9..779cf9d7a 100644 --- a/coverage_point_calculator/src/speedtest.rs +++ b/coverage_point_calculator/src/speedtest.rs @@ -42,7 +42,7 @@ pub(crate) fn multiplier(speedtests: &[Speedtest]) -> Decimal { avg.multiplier() } -#[derive(Debug, Default, Clone, Copy, PartialEq)] +#[derive(Debug, Clone, Copy, PartialEq)] pub struct Speedtest { pub upload_speed: BytesPs, pub download_speed: BytesPs,