Skip to content

Commit

Permalink
lint test code
Browse files Browse the repository at this point in the history
  • Loading branch information
yanganto committed Oct 2, 2024
1 parent f78b075 commit e3cbd1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions struct-patch-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ mod tests {
.unwrap(),
attributes: vec![],
retyped: true,
#[cfg(feature = "op")]
addable: Addable::Disable,
}],
};
Expand Down
1 change: 1 addition & 0 deletions struct-patch/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ mod tests {

#[test]
fn test_derive() {
#[allow(dead_code)]
#[derive(Patch)]
#[patch(attribute(derive(Copy, Clone, PartialEq, Debug)))]
struct Item;
Expand Down

0 comments on commit e3cbd1b

Please sign in to comment.