Skip to content

Commit

Permalink
less
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 committed Jun 24, 2024
1 parent 8a12342 commit 8f00d3e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions vortex-scalar/src/primitive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,3 @@ impl TryFrom<&Scalar> for usize {
.map(|v| v as Self)
}
}

impl TryFrom<Scalar> for usize {
type Error = VortexError;

fn try_from(value: Scalar) -> Result<Self, Self::Error> {
usize::try_from(&value)
}
}

0 comments on commit 8f00d3e

Please sign in to comment.