summaryrefslogtreecommitdiff
path: root/crates/parser/src/module.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/parser/src/module.rs')
-rw-r--r--crates/parser/src/module.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/parser/src/module.rs b/crates/parser/src/module.rs
index 8405c6d..b53dfd6 100644
--- a/crates/parser/src/module.rs
+++ b/crates/parser/src/module.rs
@@ -158,9 +158,9 @@ impl ModuleReader {
validator.end(offset)?;
self.end_reached = true;
}
- Payload::CustomSection(reader) => {
+ Payload::CustomSection(_reader) => {
debug!("Found custom section");
- debug!("Skipping custom section: {:?}", reader.name());
+ debug!("Skipping custom section: {:?}", _reader.name());
}
Payload::UnknownSection { .. } => return Err(ParseError::UnsupportedSection("Unknown section".into())),
section => return Err(ParseError::UnsupportedSection(format!("Unsupported section: {section:?}"))),