File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/docs/reference/metaprogramming Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ The `scala.compiletime` package contains helper definitions that provide support
309
309
310
310
### ` constValue ` , ` constValueOpt ` , and the ` S ` combinator
311
311
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
313
313
type.
314
314
315
315
``` scala
@@ -390,7 +390,7 @@ final val two = toIntT[Succ[Succ[Zero.type]]]
390
390
```
391
391
392
392
` 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
394
394
can safely use it to scrutinize its return type (` S[S[Z]] ` in this case).
395
395
396
396
### ` error `
You can’t perform that action at this time.
0 commit comments