Skip to content

Commit 964f903

Browse files
authored
Change apostrophe in error message
I'm not sure if this was intentionally left with `'` instead of ` in the closing apostrophe, but just in case it was not I made the PR. Scala CLA has been signed.
1 parent 4d9cb2c commit 964f903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ trait Parsers {
565565
* @return a `tParser` that succeeds if `e` is the next available input.
566566
*/
567567

568-
implicit def accept(e: Elem): Parser[Elem] = acceptIf(_ == e)("`"+e+"' expected but " + _ + " found")
568+
implicit def accept(e: Elem): Parser[Elem] = acceptIf(_ == e)("`"+e+"` expected but " + _ + " found")
569569

570570
/** A parser that matches only the given list of element `es`.
571571
*

0 commit comments

Comments
 (0)