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 @@ -545,9 +545,9 @@ fn path_template_to_path(
545
545
let timestamp_string = match timezone {
546
546
TimeZone :: Local => {
547
547
let local_timestamp = Local . from_utc_datetime ( & date_time. naive_utc ( ) ) ;
548
- local_timestamp. format ( & timestamp_template)
548
+ local_timestamp. format ( timestamp_template)
549
549
}
550
- TimeZone :: Utc => date_time. format ( & timestamp_template) ,
550
+ TimeZone :: Utc => date_time. format ( timestamp_template) ,
551
551
}
552
552
. to_string ( ) ;
553
553
let path_string = path_template. replace ( "{timestamp}" , & timestamp_string) ;
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ impl<W: fmt::Write> fmt::Write for Rfc5424LikeValueEscaper<W> {
160
160
if s. len ( ) >= index {
161
161
s = & s[ ( index + 1 ) ..] ;
162
162
} else {
163
- s = & "" ;
163
+ s = "" ;
164
164
break ;
165
165
}
166
166
}
You can’t perform that action at this time.
0 commit comments