Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ sudo: required
rust:
- nightly
- stable
# MSRV
- 1.35.0

env: TARGET=x86_64-unknown-linux-gnu

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ This project is developed and maintained by the [Tools team][team].

## ["Documentation"](https://docs.rs/svd-parser)

## Minimum Supported Rust Version (MSRV)

This crate is guaranteed to compile on stable Rust 1.35.0 and up. It *might*
compile with older versions but that may change in any new patch release.

## License

Licensed under either of
Expand Down
4 changes: 2 additions & 2 deletions src/svd/field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ impl Parse for Field {
if let Some(indices) = &array_info.dim_index {
assert_eq!(array_info.dim as usize, indices.len())
}
Ok(Self::Array(info, array_info))
Ok(Field::Array(info, array_info))
} else {
Ok(Self::Single(info))
Ok(Field::Single(info))
}
}
}
Expand Down