Skip to content

Commit

Permalink
fix: lint problem
Browse files Browse the repository at this point in the history
  • Loading branch information
stepanLav committed Dec 3, 2024
1 parent 6667728 commit 853671e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rust/printing_balance/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ fn assist(a: String, decimals: u8, order: u8) -> (String, Option<String>, i8) {

/// Input `balance` has to be a printed number. Likely `u128` or `u64`.
/// Validity of input is checked elsewhere.
pub fn convert_balance_pretty(balance: &str, decimals: u8, units: &str) -> PrettyOutput {
let order = (balance.len() as u8) - 1;

Expand Down

0 comments on commit 853671e

Please sign in to comment.