Skip to content

Commit

Permalink
fix: type check
Browse files Browse the repository at this point in the history
  • Loading branch information
dracarys18 committed Nov 13, 2024
1 parent c8058a7 commit 966bff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/masking/src/cassandra.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ impl<'frame, T> DeserializeValue<'frame> for StrongSecret<T>
where
T: DeserializeValue<'frame> + zeroize::Zeroize + Clone,
{
fn type_check(_typ: &ColumnType) -> Result<(), scylla::deserialize::TypeCheckError> {
Ok(())
fn type_check(typ: &ColumnType) -> Result<(), scylla::deserialize::TypeCheckError> {
T::type_check(typ)
}

fn deserialize(
Expand Down

0 comments on commit 966bff3

Please sign in to comment.