File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ sudo: required
66rust :
77  - nightly 
88  - stable 
9+   #  MSRV
10+   - 1.34.0 
911
1012env : TARGET=x86_64-unknown-linux-gnu 
1113
Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ This project is developed and maintained by the [Tools team][team].
1111
1212## [ "Documentation"] ( https://docs.rs/svd-parser )  
1313
14+ ## Minimum Supported Rust Version (MSRV)  
15+ 
16+ This crate is guaranteed to compile on stable Rust 1.34.0 and up. It * might* 
17+ compile with older versions but that may change in any new patch release.
18+ 
1419## License  
1520
1621Licensed under either of
Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ impl Parse for Field {
4444            if  let  Some ( indices)  = & array_info. dim_index  { 
4545                assert_eq ! ( array_info. dim as  usize ,  indices. len( ) ) 
4646            } 
47-             Ok ( Self :: Array ( info,  array_info) ) 
47+             Ok ( Field :: Array ( info,  array_info) ) 
4848        }  else  { 
49-             Ok ( Self :: Single ( info) ) 
49+             Ok ( Field :: Single ( info) ) 
5050        } 
5151    } 
5252} 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments