Skip to content

Commit 0d6db7d

Browse files
committed
tock-registers: Don't derive PartialEq for FieldValue after all.
Code reviewers don't like it.
1 parent 8a1de57 commit 0d6db7d

File tree

1 file changed

+1
-1
lines changed
  • libraries/tock-register-interface/src

1 file changed

+1
-1
lines changed

libraries/tock-register-interface/src/fields.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Field_impl_for!(usize);
190190
///
191191
/// For the FieldValue, the masks and values are shifted into their actual
192192
/// location in the register.
193-
#[derive(Copy, Clone, Eq, PartialEq)]
193+
#[derive(Copy, Clone)]
194194
pub struct FieldValue<T: UIntLike, R: RegisterLongName> {
195195
mask: T,
196196
pub value: T,

0 commit comments

Comments
 (0)