Skip to content

Commit 82f8caf

Browse files
committed
clpy
1 parent 5a0236a commit 82f8caf

File tree

1 file changed

+1
-5
lines changed
  • primitives/share-pool/src

1 file changed

+1
-5
lines changed

primitives/share-pool/src/lib.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,7 @@ where
9494
.checked_div(value_per_share)
9595
.unwrap_or(I64F64::saturating_from_num(0));
9696

97-
if shares_per_update != 0 {
98-
true
99-
} else {
100-
false
101-
}
97+
shares_per_update != 0
10298
}
10399
}
104100

0 commit comments

Comments
 (0)