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 {
9696}
9797
9898#[ derive( Debug , Clone ) ]
99- pub ( crate ) struct DynamicMessage {
99+ pub struct DynamicMessage {
100100 descriptor : MessageDescriptor ,
101101 /// Fields by index in the description.
102102 /// This field is lazy-init: it is empty when created.
@@ -127,7 +127,7 @@ impl DynamicMessage {
127127 }
128128 }
129129
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 > {
131131 let ( descriptor, index) = field. regular ( ) ;
132132 assert_eq ! ( self . descriptor, descriptor) ;
133133 if self . fields . is_empty ( ) {
Original file line number Diff line number Diff line change 1414//! Some minor adjustements are made to make code more idiomatic to rust.
1515
1616mod acc;
17- mod dynamic;
17+ pub mod dynamic;
1818mod enums;
1919pub ( crate ) mod error;
2020mod field;
You can’t perform that action at this time.
0 commit comments