summaryrefslogtreecommitdiff
path: root/crates/parser/src/module.rs
diff options
context:
space:
mode:
authorHenry <mail@henrygressmann.de>2026-04-12 21:16:49 +0200
committerHenry <mail@henrygressmann.de>2026-04-12 21:16:49 +0200
commit80cf746b50513af77203f382f5f53bd036087358 (patch)
treea9493ec0a69caba0dd82e568b6556340be306e0a /crates/parser/src/module.rs
parentd89729df921d39f81fe8a43990678853deb1edde (diff)
feat: remove lifetimes from runtime objects
Signed-off-by: Henry <mail@henrygressmann.de>
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 b53dfd6..8405c6d 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:?}"))),