From 013754ba9718fc8c8455d9cdd8c5ba1a182eb395 Mon Sep 17 00:00:00 2001 From: xiaoshihou Date: Wed, 22 Jan 2025 07:20:50 +0000 Subject: [PATCH] fix(typo): out of place indent in lexer api guide --- docs/api-guide/token/Lexer.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api-guide/token/Lexer.md b/docs/api-guide/token/Lexer.md index af1773014..1bba7c553 100644 --- a/docs/api-guide/token/Lexer.md +++ b/docs/api-guide/token/Lexer.md @@ -195,9 +195,9 @@ the latter example, as the break characters may then only appear between digits. ```scala mdoc:height=2 val lexerWithBreak = new Lexer(LexicalDesc.plain.copy( - numericDesc = NumericDesc.plain.copy( - literalBreakChar = BreakCharDesc.Supported('_', allowedAfterNonDecimalPrefix = true)) - )) + numericDesc = NumericDesc.plain.copy( + literalBreakChar = BreakCharDesc.Supported('_', allowedAfterNonDecimalPrefix = true)) +)) val withBreak = lexerWithBreak.lexeme.signed.number withBreak.parse("1_000") withBreak.parse("1_")