Skip to content

Commit e2ab06e

Browse files
burrbullEmilgardis
andauthored
Update error doc
Co-authored-by: Emil Gardström <emil.gardstrom@gmail.com>
1 parent 2e6bb46 commit e2ab06e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

svd-rs/src/enumeratedvalue.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub enum Error {
3636
/// No value was specified
3737
#[error("EnumeratedValue has no `value` or `is_default`")]
3838
AbsentValue,
39-
/// Passed both value and isDefault
39+
/// Passed both value and isDefault, only checked in strict mode
4040
#[error("EnumeratedValue with `value` (passed {0:?}) should not have `is_default(True)`")]
4141
ValueAndDefault(Option<u64>),
4242
/// The value is not in range.

0 commit comments

Comments
 (0)