Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel committed May 15, 2021
1 parent 892e2a8 commit a56df5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ pub(crate) enum ErrorCode {
/// JSON has non-whitespace trailing characters after the value.
TrailingCharacters,

/// Unexpected end of hex excape.
/// Unexpected end of hex escape.
UnexpectedEndOfHexEscape,

/// Encountered nesting of JSON maps and arrays more than 128 layers deep.
Expand Down
2 changes: 1 addition & 1 deletion src/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub struct LineColIterator<I> {
/// The column is 0 immediately after a newline character has been read.
col: usize,

/// Byte offset of the start of the current line. This is the sum of lenghts
/// Byte offset of the start of the current line. This is the sum of lengths
/// of all previous lines. Keeping track of things this way allows efficient
/// computation of the current line, column, and byte offset while only
/// updating one of the counters in `next()` in the common case.
Expand Down

0 comments on commit a56df5c

Please sign in to comment.