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 `.`.