File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -90,19 +90,19 @@ pub struct BoundsChild<'a> {
90
90
owner : & ' a mut Bounds ,
91
91
bounds : Bounds ,
92
92
}
93
- impl < ' a > Deref for BoundsChild < ' a > {
93
+ impl Deref for BoundsChild < ' _ > {
94
94
type Target = Bounds ;
95
95
96
96
fn deref ( & self ) -> & Self :: Target {
97
97
& self . bounds
98
98
}
99
99
}
100
- impl < ' a > DerefMut for BoundsChild < ' a > {
100
+ impl DerefMut for BoundsChild < ' _ > {
101
101
fn deref_mut ( & mut self ) -> & mut Self :: Target {
102
102
& mut self . bounds
103
103
}
104
104
}
105
- impl < ' a > Drop for BoundsChild < ' a > {
105
+ impl Drop for BoundsChild < ' _ > {
106
106
fn drop ( & mut self ) {
107
107
if self . owner . can_extend {
108
108
self . owner . ty . append ( & mut self . bounds . ty ) ;
Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ impl GenericParamSet {
288
288
generics : & ' a GenericParamSet ,
289
289
result : bool ,
290
290
}
291
- impl < ' a , ' ast > Visit < ' ast > for Visitor < ' a > {
291
+ impl < ' ast > Visit < ' ast > for Visitor < ' _ > {
292
292
fn visit_path ( & mut self , i : & ' ast syn:: Path ) {
293
293
if i. leading_colon . is_none ( ) {
294
294
if let Some ( s) = i. segments . iter ( ) . next ( ) {
You can’t perform that action at this time.
0 commit comments