File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11[package ]
22name  = " rasterize" 
3- version  = " 0.5.0 " 
3+ version  = " 0.5.1 " 
44authors  = [" Pavel Aslanov <asl.pavel@gmail.com>" 
55description  = " Simple and small 2D rendering library" 
66edition  = " 2021" 
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ pub struct SubPath<'a> {
144144closed :  bool , 
145145} 
146146
147- impl < ' a >  fmt:: Debug  for  SubPath < ' a >  { 
147+ impl  fmt:: Debug  for  SubPath < ' _ >  { 
148148    fn  fmt ( & self ,  f :  & mut  fmt:: Formatter < ' _ > )  -> fmt:: Result  { 
149149        for  segment in  self . segments . iter ( )  { 
150150            writeln ! ( f,  "{:?}" ,  segment) ?; 
@@ -173,7 +173,7 @@ impl<'a> SubPath<'a> {
173173    } 
174174
175175    pub  fn  segments ( & self )  -> & [ Segment ]  { 
176-         & self . segments 
176+         self . segments 
177177    } 
178178
179179    /// First segment in the sub-path 
@@ -647,7 +647,7 @@ impl<'a> IntoIterator for &'a Path {
647647impl < ' a >  Extend < SubPath < ' a > >  for  Path  { 
648648    fn  extend < T :  IntoIterator < Item  = SubPath < ' a > > > ( & mut  self ,  iter :  T )  { 
649649        for  subpath in  iter { 
650-             self . push ( & subpath. segments ,  subpath. closed ) ; 
650+             self . push ( subpath. segments ,  subpath. closed ) ; 
651651        } 
652652    } 
653653} 
@@ -669,8 +669,8 @@ where
669669    } 
670670} 
671671
672- fn  stroke_close < ' a > ( 
673-     subpath :  SubPath < ' a > , 
672+ fn  stroke_close ( 
673+     subpath :  SubPath < ' _ > , 
674674    segments :  & mut  Vec < Segment > , 
675675    style :  StrokeStyle , 
676676    forward :  bool , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments