Skip to content

Commit f0749ac

Browse files
committed
DeserializeMetadataAndRawRows: pub new_for_test
When we switch `scylla` to use this type, the tests there will need to construct it, so the method needs to become pub.
1 parent d42b9a7 commit f0749ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scylla-cql/src/frame/response/result.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,9 +1460,9 @@ mod test_utils {
14601460
}
14611461

14621462
impl DeserializedMetadataAndRawRows {
1463+
#[doc(hidden)]
14631464
#[inline]
1464-
#[cfg(test)]
1465-
pub(crate) fn new_for_test(
1465+
pub fn new_for_test(
14661466
metadata: ResultMetadata<'static>,
14671467
rows_count: usize,
14681468
raw_rows: Bytes,

0 commit comments

Comments
 (0)