Skip to content

Commit

Permalink
Make set non-generic
Browse files Browse the repository at this point in the history
  • Loading branch information
sug0 committed Aug 27, 2024
1 parent d97f76d commit 50b42a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/token/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ impl Transfer {
}

/// Set the key to the given amount
fn set<K: Ord>(
map: &mut BTreeMap<K, DenominatedAmount>,
key: K,
fn set(
map: &mut BTreeMap<Account, DenominatedAmount>,
key: Account,
val: DenominatedAmount,
) {
if val.is_zero() {
Expand Down

0 comments on commit 50b42a7

Please sign in to comment.