diff --git a/scylla-cql/src/types/serialize/row.rs b/scylla-cql/src/types/serialize/row.rs index ede0527e9b..fb1f9e6ad0 100644 --- a/scylla-cql/src/types/serialize/row.rs +++ b/scylla-cql/src/types/serialize/row.rs @@ -677,7 +677,6 @@ impl SerializedValues { } /// Creates value list from the request frame - #[allow(dead_code)] pub(crate) fn new_from_frame(buf: &mut &[u8]) -> Result { let values_num = types::read_short(buf)?; let values_beg = *buf; @@ -694,7 +693,6 @@ impl SerializedValues { } // Temporary function, to be removed when we implement new batching API (right now it is needed in frame::request::mod.rs tests) - #[allow(dead_code)] pub fn to_old_serialized_values(&self) -> LegacySerializedValues { let mut frame = Vec::new(); self.write_to_request(&mut frame); diff --git a/scylla/src/statement/prepared_statement.rs b/scylla/src/statement/prepared_statement.rs index 5ee2a13e33..f61fab901e 100644 --- a/scylla/src/statement/prepared_statement.rs +++ b/scylla/src/statement/prepared_statement.rs @@ -338,7 +338,6 @@ impl PreparedStatement { self.config.execution_profile_handle.as_ref() } - #[allow(dead_code)] pub(crate) fn serialize_values( &self, values: &impl SerializeRow,