Skip to content

Commit

Permalink
Spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
konnik authored Oct 2, 2023
1 parent bf2cae9 commit 7a990a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/main/kotlin/konnik/json/JsonParser.kt
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ private fun <A : Any> lazy(parser: () -> Parser<A>): Parser<A> = { input ->
}

/**
* Combine to parsers into one that concatenates the results of the
* Combine two parsers into one that concatenates the results of the
* individual parsers into one string.
*/
private operator fun <A : Any, B : Any> Parser<A>.plus(parserB: Parser<B>): Parser<String> =
Expand Down Expand Up @@ -443,4 +443,4 @@ private fun _jsonValue() = lazy { jsonValue }
/**
* The main JSON parser corresponding to the top level rule in the grammar.
*/
private val json: Parser<JsonValue> = element
private val json: Parser<JsonValue> = element

0 comments on commit 7a990a8

Please sign in to comment.