Skip to content

Commit add6a97

Browse files
committed
pretty: unpub fields of nonpub structs
1 parent 17de099 commit add6a97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scylla/src/utils/pretty.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ impl<'a> UpperHex for HexBytes<'a> {
2626

2727
// Displays a CqlValue. The syntax should resemble the CQL literal syntax
2828
// (but no guarantee is given that it's always the same).
29-
pub(crate) struct CqlValueDisplayer<C>(pub C);
29+
pub(crate) struct CqlValueDisplayer<C>(pub(crate) C);
3030

3131
impl<C> Display for CqlValueDisplayer<C>
3232
where
@@ -154,7 +154,7 @@ impl<'a> Display for CqlStringLiteralDisplayer<'a> {
154154
}
155155
}
156156

157-
pub(crate) struct CommaSeparatedDisplayer<I>(pub I);
157+
pub(crate) struct CommaSeparatedDisplayer<I>(pub(crate) I);
158158

159159
impl<I, T> Display for CommaSeparatedDisplayer<I>
160160
where

0 commit comments

Comments
 (0)