Skip to content

Commit

Permalink
Fix dead code warning
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Aug 21, 2024
1 parent 5e29b6f commit 72a8286
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/wasmparser/src/readers/core/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1486,6 +1486,7 @@ impl AbstractHeapType {
}
}

#[cfg(feature = "validate")]
pub(crate) fn is_subtype_of(&self, other: AbstractHeapType) -> bool {
use AbstractHeapType::*;

Expand Down

0 comments on commit 72a8286

Please sign in to comment.