Skip to content

Commit 1936050

Browse files
author
Will Nelson
committed
Fix serializer options visibility
1 parent 2040f99 commit 1936050

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resp/src/ser/serializer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ impl Default for NullType {
2121
#[derive(Debug, Clone, Default)]
2222
pub struct Options {
2323
/// The type to use for serializing missing Optional values.
24-
null_type: NullType,
24+
pub null_type: NullType,
2525
}
2626

2727
/// RESP serializer.
28-
#[derive(Default)]
28+
#[derive(Debug, Default)]
2929
pub struct Serializer<W> {
3030
pub output: W,
3131
pub options: Options,

0 commit comments

Comments
 (0)