From 43db4be237693b5f1de7ab1e69db74f8625ee200 Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Mon, 15 Jul 2024 09:04:41 -0700 Subject: [PATCH] Update src/write.rs Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> --- src/write.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/write.rs b/src/write.rs index 0fcb55af..a8a31a53 100644 --- a/src/write.rs +++ b/src/write.rs @@ -1807,7 +1807,6 @@ fn clamp_opt>( value: T, range: std::ops::RangeInclusive, ) -> Option { - use core::convert::TryInto; if range.contains(&value.try_into().ok()?) { Some(value) } else {