Skip to content

Commit 06013a6

Browse files
Update docs/docs/reference/metaprogramming/inline.md
Co-authored-by: Fengyun Liu <[email protected]>
1 parent 5a1b477 commit 06013a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/metaprogramming/inline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ inline val four = 4
235235
inline val four: 4 = 4
236236
```
237237

238-
It is also possible to have inline vals with primitives that do not have a syntactical version such as `Short`.
238+
It is also possible to have inline vals of types that do not have a syntax, such as `Short(4)`.
239239

240240
```scala
241241
trait InlineConstants {

0 commit comments

Comments
 (0)