From 5d7bd20e67204e6321e558632704b403ae9f2b2a Mon Sep 17 00:00:00 2001 From: Michael Jeffrey Date: Thu, 6 Jun 2024 15:30:55 -0700 Subject: [PATCH] If a type can trivially be copy, let's make it copy --- coverage_point_calculator/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coverage_point_calculator/src/lib.rs b/coverage_point_calculator/src/lib.rs index 188e922ff..6e481b748 100644 --- a/coverage_point_calculator/src/lib.rs +++ b/coverage_point_calculator/src/lib.rs @@ -175,7 +175,7 @@ impl RewardableRadio { } } -#[derive(Debug, Clone)] +#[derive(Debug, Clone, Copy)] pub enum BoostedHexStatus { Eligible, WifiLocationScoreBelowThreshold(Decimal), @@ -261,7 +261,7 @@ impl RadioType { } } -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone, Copy, PartialEq)] pub enum RadioThreshold { Verified, UnVerified,