diff --git a/crates/masking/src/cassandra.rs b/crates/masking/src/cassandra.rs index 752a0cd22144..e5636da9496b 100644 --- a/crates/masking/src/cassandra.rs +++ b/crates/masking/src/cassandra.rs @@ -24,16 +24,16 @@ where } } -impl<'metadata, 'frame, T> DeserializeValue<'frame, 'metadata> for StrongSecret +impl<'frame, T> DeserializeValue<'frame> for StrongSecret where - T: DeserializeValue<'frame, 'metadata> + zeroize::Zeroize + Clone, + T: DeserializeValue<'frame> + zeroize::Zeroize + Clone, { fn type_check(_typ: &ColumnType) -> Result<(), scylla::deserialize::TypeCheckError> { Ok(()) } fn deserialize( - typ: &'metadata ColumnType<'metadata>, + typ: &'frame ColumnType, v: Option>, ) -> Result { Ok(Self::new(T::deserialize(typ, v)?))