File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ fn opt_to_num<T>(opt: Option<T>) -> usize {
18
18
19
19
struct JsonRecord < ' a > ( & ' a Record < ' a > ) ;
20
20
21
- impl < ' a > Serialize for JsonRecord < ' a > {
21
+ impl Serialize for JsonRecord < ' _ > {
22
22
fn serialize < S > ( & self , serializer : S ) -> Result < S :: Ok , S :: Error >
23
23
where
24
24
S : serde:: Serializer ,
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ macro_rules! impl_cache_fields_str_getter {
120
120
} ;
121
121
}
122
122
123
- impl < ' a > TimeDate < ' a > {
123
+ impl TimeDate < ' _ > {
124
124
#[ must_use]
125
125
pub ( crate ) fn full_second_str ( & mut self ) -> & str {
126
126
if self . cached . full_second_str . is_none ( ) {
@@ -327,7 +327,7 @@ pub(crate) struct TimeDateLazyLocked<'a> {
327
327
locked : Option < TimeDateLocked < ' a > > ,
328
328
}
329
329
330
- impl < ' a > TimeDateLazyLocked < ' a > {
330
+ impl TimeDateLazyLocked < ' _ > {
331
331
#[ must_use]
332
332
pub ( crate ) fn new ( time : SystemTime ) -> Self {
333
333
Self { time, locked : None }
Original file line number Diff line number Diff line change @@ -461,7 +461,7 @@ impl Pattern for str {
461
461
}
462
462
}
463
463
464
- impl < ' a , T > Pattern for & ' a T
464
+ impl < T > Pattern for & T
465
465
where
466
466
T : ?Sized + Pattern ,
467
467
{
You can’t perform that action at this time.
0 commit comments