From 3791baffad4f0de8159b21d0bb42803c457ac64b Mon Sep 17 00:00:00 2001 From: flow Date: Fri, 7 Apr 2023 23:46:25 +0900 Subject: [PATCH] Fix typo in scaladoc --- .../main/scala/scala/util/parsing/combinator/Parsers.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/src/main/scala/scala/util/parsing/combinator/Parsers.scala b/shared/src/main/scala/scala/util/parsing/combinator/Parsers.scala index fe06ef4a..7b9ab5ef 100644 --- a/shared/src/main/scala/scala/util/parsing/combinator/Parsers.scala +++ b/shared/src/main/scala/scala/util/parsing/combinator/Parsers.scala @@ -364,7 +364,7 @@ trait Parsers { /** A parser combinator for non-back-tracking sequential composition which only keeps the right result. * - * `p ~>! q` succeeds if `p` succeds and `q` succeds on the input left over by `p`. + * `p ~>! q` succeeds if `p` succeeds and `q` succeeds on the input left over by `p`. * In case of failure, no back-tracking is performed (in an earlier parser produced by the `|` combinator). * * @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 { /** A parser combinator for non-back-tracking sequential composition which only keeps the left result. * - * `p <~! q` succeeds if `p` succeds and `q` succeds on the input left over by `p`. + * `p <~! q` succeeds if `p` succeeds and `q` succeeds on the input left over by `p`. * In case of failure, no back-tracking is performed (in an earlier parser produced by the `|` combinator). * * @param q a parser that will be executed after `p` (this parser) succeeds -- evaluated at most once, and only when necessary