From ec98e32a3b8876893bc46fbe24f0fb76ef8ae332 Mon Sep 17 00:00:00 2001 From: HagaiHargil Date: Tue, 8 Dec 2020 13:46:09 +0200 Subject: [PATCH] Removed unused wrapping f32 and f64 --- src/decoder/mod.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/decoder/mod.rs b/src/decoder/mod.rs index d715ee5..b6abf2a 100644 --- a/src/decoder/mod.rs +++ b/src/decoder/mod.rs @@ -274,18 +274,6 @@ impl Wrapping for u64 { } } -impl Wrapping for f32 { - fn wrapping_add(&self, other: Self) -> Self { - self + other - } -} - -impl Wrapping for f64 { - fn wrapping_add(&self, other: Self) -> Self { - self + other - } -} - impl Wrapping for i16 { fn wrapping_add(&self, other: Self) -> Self { i16::wrapping_add(*self, other)