Skip to content

Commit 0a99ee9

Browse files
committed
Fix clippy
1 parent bffbcd7 commit 0a99ee9

File tree

1 file changed

+2
-0
lines changed
  • primitives/safe-math/src

1 file changed

+2
-0
lines changed

primitives/safe-math/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#![cfg_attr(not(feature = "std"), no_std)]
22
#![allow(clippy::result_unit_err)]
3+
#![cfg_attr(test, allow(clippy::arithmetic_side_effects))]
4+
#![cfg_attr(test, allow(clippy::unwrap_used))]
35

46
use substrate_fixed::{
57
traits::Fixed,

0 commit comments

Comments
 (0)