Skip to content

Commit

Permalink
pallet-cosmwasm: remove unnecessary as uXX casts on literals
Browse files Browse the repository at this point in the history
In most cases Rust can figure out the type of an integer literal so an
explicit `as uXX` cast is not necessary.  In a couple of places where
the type is needed to disambiguate types, using typed integer literal
is more concise.
  • Loading branch information
mina86 committed Jul 21, 2023
1 parent 30260e7 commit 15fa4fa
Showing 1 changed file with 414 additions and 414 deletions.
Loading

0 comments on commit 15fa4fa

Please sign in to comment.