From 8f00d3e5c3fa3635b7a8a3f6d152c79f97e81bf3 Mon Sep 17 00:00:00 2001 From: Robert Kruszewski Date: Mon, 24 Jun 2024 16:39:17 +0100 Subject: [PATCH] less --- vortex-scalar/src/primitive.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/vortex-scalar/src/primitive.rs b/vortex-scalar/src/primitive.rs index 261e3a8ef5..63144da7b6 100644 --- a/vortex-scalar/src/primitive.rs +++ b/vortex-scalar/src/primitive.rs @@ -189,11 +189,3 @@ impl TryFrom<&Scalar> for usize { .map(|v| v as Self) } } - -impl TryFrom for usize { - type Error = VortexError; - - fn try_from(value: Scalar) -> Result { - usize::try_from(&value) - } -}