Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit dcb5b27

Browse files
committed
small cleanup
1 parent 239fa01 commit dcb5b27

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

runtime/src/accounts_db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12571,7 +12571,7 @@ pub mod tests {
1257112571
let expected_account_hash = if cfg!(debug_assertions) {
1257212572
Hash::from_str("6qtBXmRrLdTdAV5bK6bZZJxQA4fPSUBxzQGq2BQSat25").unwrap()
1257312573
} else {
12574-
Hash::from_str("6qtBXmRrLdTdAV5bK6bZZJxQA4fPSUBxzQGq2BQSat25").expect("suppress cippy")
12574+
Hash::from_str("5HL9MtsQmxZQ8XSgcAhSkqnrayQFXUY8FT1JsHjDNKbi").unwrap()
1257512575
};
1257612576

1257712577
assert_eq!(

sdk/program/src/clock.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ mod tests {
179179
leader_schedule_epoch: 4,
180180
unix_timestamp: 5,
181181
};
182-
#[allow(clippy::redundant_clone)]
183182
let cloned_clock = clock.clone();
184183
assert_eq!(cloned_clock, clock);
185184
}

sdk/program/src/sysvar/fees.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ mod tests {
6464
lamports_per_signature: 1,
6565
},
6666
};
67-
#[allow(clippy::redundant_clone)]
6867
let cloned_fees = fees.clone();
6968
assert_eq!(cloned_fees, fees);
7069
}

0 commit comments

Comments
 (0)