Skip to content

Commit ce03a07

Browse files
authored
Merge pull request #511 from hyp3rflow/patch-1
Fix typo in scaladoc of `Parsers.scala`
2 parents 4f020d5 + 3791baf commit ce03a07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared/src/main/scala/scala/util/parsing/combinator/Parsers.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ trait Parsers {
364364

365365
/** A parser combinator for non-back-tracking sequential composition which only keeps the right result.
366366
*
367-
* `p ~>! q` succeeds if `p` succeds and `q` succeds on the input left over by `p`.
367+
* `p ~>! q` succeeds if `p` succeeds and `q` succeeds on the input left over by `p`.
368368
* In case of failure, no back-tracking is performed (in an earlier parser produced by the `|` combinator).
369369
*
370370
* @param q a parser that will be executed after `p` (this parser) succeeds -- evaluated at most once, and only when necessary
@@ -377,7 +377,7 @@ trait Parsers {
377377

378378
/** A parser combinator for non-back-tracking sequential composition which only keeps the left result.
379379
*
380-
* `p <~! q` succeeds if `p` succeds and `q` succeds on the input left over by `p`.
380+
* `p <~! q` succeeds if `p` succeeds and `q` succeeds on the input left over by `p`.
381381
* In case of failure, no back-tracking is performed (in an earlier parser produced by the `|` combinator).
382382
*
383383
* @param q a parser that will be executed after `p` (this parser) succeeds -- evaluated at most once, and only when necessary

0 commit comments

Comments
 (0)