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
6
6
rust :
7
7
- nightly
8
8
- stable
9
+ # MSRV
10
+ - 1.35.0
9
11
10
12
env : TARGET=x86_64-unknown-linux-gnu
11
13
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].
11
11
12
12
## [ "Documentation"] ( https://docs.rs/svd-parser )
13
13
14
+ ## Minimum Supported Rust Version (MSRV)
15
+
16
+ This crate is guaranteed to compile on stable Rust 1.35.0 and up. It * might*
17
+ compile with older versions but that may change in any new patch release.
18
+
14
19
## License
15
20
16
21
Licensed under either of
Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ impl Parse for Field {
44
44
if let Some ( indices) = & array_info. dim_index {
45
45
assert_eq ! ( array_info. dim as usize , indices. len( ) )
46
46
}
47
- Ok ( Self :: Array ( info, array_info) )
47
+ Ok ( Field :: Array ( info, array_info) )
48
48
} else {
49
- Ok ( Self :: Single ( info) )
49
+ Ok ( Field :: Single ( info) )
50
50
}
51
51
}
52
52
}
You can’t perform that action at this time.
0 commit comments