Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
dracarys18 committed Nov 13, 2024
1 parent 9c95434 commit c8058a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/masking/src/cassandra.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ where
}
}

impl<'metadata, 'frame, T> DeserializeValue<'frame, 'metadata> for StrongSecret<T>
impl<'frame, T> DeserializeValue<'frame> for StrongSecret<T>
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<scylla::deserialize::FrameSlice<'frame>>,
) -> Result<Self, scylla::deserialize::DeserializationError> {
Ok(Self::new(T::deserialize(typ, v)?))
Expand Down

0 comments on commit c8058a7

Please sign in to comment.