Skip to content

Commit 80e354d

Browse files
committed
un-pub DeserializedMetadataAndRawRows::new_for_test
This function is only used by in-crate tests. It can be safely made pub(crate), and even cfg(test), instead of being doc(hidden).
1 parent 6cc48c8 commit 80e354d

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
@@ -1284,8 +1284,8 @@ mod test_utils {
12841284

12851285
impl DeserializedMetadataAndRawRows {
12861286
#[inline]
1287-
#[doc(hidden)]
1288-
pub fn new_for_test(
1287+
#[cfg(test)]
1288+
pub(crate) fn new_for_test(
12891289
metadata: ResultMetadata<'static>,
12901290
rows_count: usize,
12911291
raw_rows: Bytes,

0 commit comments

Comments
 (0)