Skip to content

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Feb 28, 2024
1 parent 9d93d14 commit 9cd712d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/src/scanner/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -685,8 +685,8 @@ impl<'r> Scanner<'r> {

// If some pattern or rule matched, clear the matches. Notice that a
// rule may match without any pattern being matched, because there
// there are rules without patterns, or that match if the pattern is
// not found.
// are rules without patterns, or that match if the pattern is not
// found.
if !ctx.pattern_matches.is_empty()
|| !ctx.non_private_matching_rules.is_empty()
|| !ctx.private_matching_rules.is_empty()
Expand Down
2 changes: 1 addition & 1 deletion lib/src/wasm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ pub(crate) fn map_len(_: &mut Caller<'_, ScanContext>, map: Rc<Map>) -> i64 {
/// reach the inner `integer_field`.
///
/// The initial structure is the one passed in the `structure` argument, or the
/// the root structure if this argument is `None`.
/// root structure if this argument is `None`.
///
/// The sequence of indexes is stored in WASM main memory, starting at
/// `LOOKUP_INDEXES_START`, and the number of indexes is indicated by the
Expand Down

0 comments on commit 9cd712d

Please sign in to comment.