Skip to content

Commit 133d18c

Browse files
authored
doc(inline constValue): typo constvalue and toInt
1 parent abaf47e commit 133d18c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/reference/metaprogramming/inline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ The `scala.compiletime` package contains helper definitions that provide support
309309

310310
### `constValue`, `constValueOpt`, and the `S` combinator
311311

312-
`constvalue` is a function that produces the constant value represented by a
312+
`constValue` is a function that produces the constant value represented by a
313313
type.
314314

315315
```scala
@@ -390,7 +390,7 @@ final val two = toIntT[Succ[Succ[Zero.type]]]
390390
```
391391

392392
`erasedValue` is an `erased` method so it cannot be used and has no runtime
393-
behavior. Since `toInt` performs static checks over the static type of `N` we
393+
behavior. Since `toIntT` performs static checks over the static type of `N` we
394394
can safely use it to scrutinize its return type (`S[S[Z]]` in this case).
395395

396396
### `error`

0 commit comments

Comments
 (0)