Skip to content

Commit

Permalink
to satisfy linter
Browse files Browse the repository at this point in the history
gangov committed Aug 5, 2024
1 parent 506bc15 commit 68adc32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/decimal/src/decimal256.rs
Original file line number Diff line number Diff line change
@@ -220,6 +220,7 @@ impl Decimal256 {
Decimal256(result)
}

#[allow(dead_code)]
pub fn div(&self, env: &Env, rhs: Self) -> Self {
match Decimal256::checked_from_ratio(env, self.numerator(), rhs.numerator()) {
Ok(ratio) => ratio,

0 comments on commit 68adc32

Please sign in to comment.