File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -45,13 +45,15 @@ const LOG_LEVEL_ERROR: &str = "error";
4545
4646// Span field constants
4747const SPAN_FIELD_RECORDING : & str = "recording" ;
48+ #[ allow( dead_code) ]
4849const SPAN_FIELD_RECORDER : & str = "recorder" ;
4950
5051// Environment value constants
5152const ENV_VALUE_LOCAL : & str = "local" ;
5253const ENV_VALUE_MAST_EMULATOR : & str = "mast_emulator" ;
5354const ENV_VALUE_MAST : & str = "mast" ;
5455const ENV_VALUE_TEST : & str = "test" ;
56+ #[ allow( dead_code) ]
5557const ENV_VALUE_LOCAL_MAST_SIMULATOR : & str = "local_mast_simulator" ;
5658
5759pub mod in_memory_reader;
Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ impl Entry {
170170 self . value = Value :: String ( buf) ;
171171 }
172172
173- fn set_debug ( & mut self , name : & ' static str , value : & ( dyn std:: fmt:: Debug ) ) {
173+ fn set_debug ( & mut self , name : & ' static str , value : & dyn std:: fmt:: Debug ) {
174174 self . reset ( ) ;
175175 let mut buf = self . buffer . take ( ) . unwrap_or_else ( String :: new) ;
176176
@@ -325,7 +325,7 @@ impl Visit for Event {
325325 self . next_field ( ) . set_error ( field. name ( ) , value) ;
326326 }
327327
328- fn record_debug ( & mut self , field : & tracing:: field:: Field , value : & ( dyn std:: fmt:: Debug ) ) {
328+ fn record_debug ( & mut self , field : & tracing:: field:: Field , value : & dyn std:: fmt:: Debug ) {
329329 self . next_field ( ) . set_debug ( field. name ( ) , value) ;
330330 }
331331}
You can’t perform that action at this time.
0 commit comments