File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ impl DynamicFieldValue {
96
96
}
97
97
98
98
#[ derive( Debug , Clone ) ]
99
- pub ( crate ) struct DynamicMessage {
99
+ pub struct DynamicMessage {
100
100
descriptor : MessageDescriptor ,
101
101
/// Fields by index in the description.
102
102
/// This field is lazy-init: it is empty when created.
@@ -127,7 +127,7 @@ impl DynamicMessage {
127
127
}
128
128
}
129
129
130
- pub ( crate ) fn get_reflect < ' a > ( & ' a self , field : & FieldDescriptor ) -> ReflectFieldRef < ' a > {
130
+ pub fn get_reflect < ' a > ( & ' a self , field : & FieldDescriptor ) -> ReflectFieldRef < ' a > {
131
131
let ( descriptor, index) = field. regular ( ) ;
132
132
assert_eq ! ( self . descriptor, descriptor) ;
133
133
if self . fields . is_empty ( ) {
Original file line number Diff line number Diff line change 14
14
//! Some minor adjustements are made to make code more idiomatic to rust.
15
15
16
16
mod acc;
17
- mod dynamic;
17
+ pub mod dynamic;
18
18
mod enums;
19
19
pub ( crate ) mod error;
20
20
mod field;
You can’t perform that action at this time.
0 commit comments