File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ impl<'a> CapabilityIter<'a> {
184
184
}
185
185
}
186
186
187
- impl < ' a > Iterator for CapabilityIter < ' a > {
187
+ impl Iterator for CapabilityIter < ' _ > {
188
188
type Item = ( u32 , Capability ) ;
189
189
190
190
fn next ( & mut self ) -> Option < Self :: Item > {
Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ impl INodeInterface for Slave {
297
297
for b in buffer. iter ( ) {
298
298
if * b == b'\n' {
299
299
// ONLCR: Convert NL to CR + NL
300
- master. extend_from_slice ( & [ b'\r' , b'\n' ] ) ;
300
+ master. extend_from_slice ( b" \r \n " ) ;
301
301
continue ;
302
302
}
303
303
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ pub struct Inner<'this> {
309
309
color_list : ColorList ,
310
310
}
311
311
312
- impl < ' a > Inner < ' a > {
312
+ impl Inner < ' _ > {
313
313
fn genloop < F > (
314
314
& mut self ,
315
315
image : & Image ,
@@ -793,13 +793,13 @@ impl<'a> core::ops::Deref for DebugRendy<'a> {
793
793
}
794
794
}
795
795
796
- impl < ' a > core:: ops:: DerefMut for DebugRendy < ' a > {
796
+ impl core:: ops:: DerefMut for DebugRendy < ' _ > {
797
797
fn deref_mut ( & mut self ) -> & mut Self :: Target {
798
798
& mut self . inner
799
799
}
800
800
}
801
801
802
- impl < ' this > fmt:: Write for DebugRendy < ' this > {
802
+ impl fmt:: Write for DebugRendy < ' _ > {
803
803
fn write_str ( & mut self , string : & str ) -> fmt:: Result {
804
804
for b in string. bytes ( ) {
805
805
self . performer . advance ( & mut self . inner , b) ;
@@ -808,7 +808,7 @@ impl<'this> fmt::Write for DebugRendy<'this> {
808
808
}
809
809
}
810
810
811
- impl < ' a > vte:: ansi:: Handler for Inner < ' a > {
811
+ impl vte:: ansi:: Handler for Inner < ' _ > {
812
812
fn input ( & mut self , c : char ) {
813
813
self . write_character ( c) ;
814
814
@@ -883,8 +883,8 @@ impl<'a> vte::ansi::Handler for Inner<'a> {
883
883
}
884
884
}
885
885
886
- unsafe impl < ' this > Send for DebugRendy < ' this > { }
887
- unsafe impl < ' this > Sync for DebugRendy < ' this > { }
886
+ unsafe impl Send for DebugRendy < ' _ > { }
887
+ unsafe impl Sync for DebugRendy < ' _ > { }
888
888
889
889
pub static DEBUG_RENDY : Once < Mutex < DebugRendy > > = Once :: new ( ) ;
890
890
You can’t perform that action at this time.
0 commit comments