Commit 97b4738
Merge #3013
3013: tock-register-interface: Provide `none` method for FieldValue type. r=lschuermann a=qwandor
### Pull Request Overview
`Default` is useful to construct a `FieldValue` which can be passed to
`modify` as a no-op or used as an additive identity when combining other
`FieldValue`s.
`Eq` and `PartialEq` are useful for assertions in testing.
### Testing Strategy
This pull request was tested by `cargo test`.
### Documentation Updated
- [x] Updated the relevant files in `/docs`, or no updates are required.
### Formatting
- [x] Ran `make prepush`.
Co-authored-by: Andrew Walbran <qwandor@google.com>1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
233 | 242 | | |
234 | 243 | | |
235 | 244 | | |
| |||
390 | 399 | | |
391 | 400 | | |
392 | 401 | | |
| 402 | + | |
393 | 403 | | |
394 | 404 | | |
395 | 405 | | |
| |||
0 commit comments