We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e6bb46 commit e2ab06eCopy full SHA for e2ab06e
svd-rs/src/enumeratedvalue.rs
@@ -36,7 +36,7 @@ pub enum Error {
36
/// No value was specified
37
#[error("EnumeratedValue has no `value` or `is_default`")]
38
AbsentValue,
39
- /// Passed both value and isDefault
+ /// Passed both value and isDefault, only checked in strict mode
40
#[error("EnumeratedValue with `value` (passed {0:?}) should not have `is_default(True)`")]
41
ValueAndDefault(Option<u64>),
42
/// The value is not in range.
0 commit comments