Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Commit

Permalink
Fix typo in ValidatingParser::current_position (#201)
Browse files Browse the repository at this point in the history
* Fix typo in `ValidatingParser::current_position`

* version 0.51.4

Co-authored-by: Yury Delendik <ydelendik@mozilla.com>
  • Loading branch information
MarkMcCaskey and yurydelendik authored Feb 27, 2020
1 parent fc5dccc commit ac6df05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmparser"
version = "0.51.3"
version = "0.51.4"
authors = ["Yury Delendik <ydelendik@mozilla.com>"]
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasmparser.rs"
Expand Down
2 changes: 1 addition & 1 deletion src/validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ impl<'a> ValidatingParser<'a> {
))
}

pub fn current_poisiton(&self) -> usize {
pub fn current_position(&self) -> usize {
self.parser.current_position()
}
}
Expand Down

0 comments on commit ac6df05

Please sign in to comment.