Skip to content

Commit

Permalink
another
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqiangxu committed Feb 3, 2024
1 parent 7a9c13d commit b78e960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runes/runestone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ impl Runestone {

let limit = Tag::Limit
.take(&mut fields)
.map(|limit| limit.clamp(0, MAX_LIMIT));
.map(|limit| limit.min(MAX_LIMIT));

let rune = Tag::Rune.take(&mut fields).map(Rune);

Expand Down

0 comments on commit b78e960

Please sign in to comment.