From be2f8ed1278b83df010c7e4cd4cb06dd03c0e93a Mon Sep 17 00:00:00 2001 From: Jon Ross-Perkins Date: Thu, 21 Jul 2022 00:50:05 -0400 Subject: [PATCH] Remove convention remark (#1482) --- docs/design/lexical_conventions/numeric_literals.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/design/lexical_conventions/numeric_literals.md b/docs/design/lexical_conventions/numeric_literals.md index b4f1a33a6d30..51a3506965c5 100644 --- a/docs/design/lexical_conventions/numeric_literals.md +++ b/docs/design/lexical_conventions/numeric_literals.md @@ -33,7 +33,8 @@ The following syntaxes are supported: - `123.456` (digits on both sides of the `.`) - `123.456e789` (optional `+` or `-` after the `e`) - `0x1.2p123` (optional `+` or `-` after the `p`) -- Digit separators (`_`) may be used, but only in conventional locations +- Digit separators (`_`) may be used, with + [some restrictions](#digit-separators) Note that real-number literals always contain a `.` with digits on both sides, and integer literals never contain a `.`.