File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 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> {
184184 }
185185}
186186
187- impl < ' a > Iterator for CapabilityIter < ' a > {
187+ impl Iterator for CapabilityIter < ' _ > {
188188 type Item = ( u32 , Capability ) ;
189189
190190 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 {
297297 for b in buffer. iter ( ) {
298298 if * b == b'\n' {
299299 // ONLCR: Convert NL to CR + NL
300- master. extend_from_slice ( & [ b'\r' , b'\n' ] ) ;
300+ master. extend_from_slice ( b" \r \n " ) ;
301301 continue ;
302302 }
303303
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ pub struct Inner<'this> {
309309 color_list : ColorList ,
310310}
311311
312- impl < ' a > Inner < ' a > {
312+ impl Inner < ' _ > {
313313 fn genloop < F > (
314314 & mut self ,
315315 image : & Image ,
@@ -793,13 +793,13 @@ impl<'a> core::ops::Deref for DebugRendy<'a> {
793793 }
794794}
795795
796- impl < ' a > core:: ops:: DerefMut for DebugRendy < ' a > {
796+ impl core:: ops:: DerefMut for DebugRendy < ' _ > {
797797 fn deref_mut ( & mut self ) -> & mut Self :: Target {
798798 & mut self . inner
799799 }
800800}
801801
802- impl < ' this > fmt:: Write for DebugRendy < ' this > {
802+ impl fmt:: Write for DebugRendy < ' _ > {
803803 fn write_str ( & mut self , string : & str ) -> fmt:: Result {
804804 for b in string. bytes ( ) {
805805 self . performer . advance ( & mut self . inner , b) ;
@@ -808,7 +808,7 @@ impl<'this> fmt::Write for DebugRendy<'this> {
808808 }
809809}
810810
811- impl < ' a > vte:: ansi:: Handler for Inner < ' a > {
811+ impl vte:: ansi:: Handler for Inner < ' _ > {
812812 fn input ( & mut self , c : char ) {
813813 self . write_character ( c) ;
814814
@@ -883,8 +883,8 @@ impl<'a> vte::ansi::Handler for Inner<'a> {
883883 }
884884}
885885
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 < ' _ > { }
888888
889889pub static DEBUG_RENDY : Once < Mutex < DebugRendy > > = Once :: new ( ) ;
890890
You can’t perform that action at this time.
0 commit comments