diff --git a/crates/masking/src/cassandra.rs b/crates/masking/src/cassandra.rs index e5636da9496b..dc81512e79d5 100644 --- a/crates/masking/src/cassandra.rs +++ b/crates/masking/src/cassandra.rs @@ -28,8 +28,8 @@ impl<'frame, T> DeserializeValue<'frame> for StrongSecret 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(