Skip to content

Commit e905fb2

Browse files
Merge pull request #7173 from soronpo/patch-1
Fix missing code tag in numeric-literals.md
2 parents 4aa80fc + efa8492 commit e905fb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/changed-features/numeric-literals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: doc-page
33
title: Numeric Literals
44
---
55

6-
In Scala 2, numeric literals were confined to the primitive numeric types `Int`, Long`, `Float`, and `Double`. Scala 3 allows to write numeric literals also for user defined types. Example:
6+
In Scala 2, numeric literals were confined to the primitive numeric types `Int`, `Long`, `Float`, and `Double`. Scala 3 allows to write numeric literals also for user defined types. Example:
77
```
88
val x: Long = -10_000_000_000
99
val y: BigInt = 0x123_abc_789_def_345_678_901

0 commit comments

Comments
 (0)