Skip to content

Commit

Permalink
Fix check error
Browse files Browse the repository at this point in the history
  • Loading branch information
dhil committed Sep 12, 2024
1 parent b0560e8 commit 6d538a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasmparser/src/validator/core/canonical.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ pub(crate) trait InternRecGroup {
CompositeInnerType::Func(_) => (),
_ => {
return Err(BinaryReaderError::new(
format!("non-function type {}", id.index()),
crate::validator::format!("non-function type {}", id.index()),
offset,
))
}
Expand Down

0 comments on commit 6d538a0

Please sign in to comment.