Skip to content

Commit

Permalink
Removing derive Default for Speedtest
Browse files Browse the repository at this point in the history
I don't think a zeroed out Speedtest is a sensible default
  • Loading branch information
michaeldjeffrey committed Jun 7, 2024
1 parent bbe19bd commit 63ddf10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coverage_point_calculator/src/speedtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 63ddf10

Please sign in to comment.