Skip to content

Commit

Permalink
apply clippy suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed Jan 17, 2023
1 parent dd242af commit a09e8a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasmi/src/module/instantiate/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ impl Module {
len_items
.checked_add(offset)
.filter(|&req| req <= len_table)
.ok_or_else(|| InstantiationError::ElementSegmentDoesNotFit {
.ok_or(InstantiationError::ElementSegmentDoesNotFit {
table,
offset,
amount: len_items,
Expand Down

0 comments on commit a09e8a5

Please sign in to comment.