Skip to content

Commit d3830ac

Browse files
committed
Improve comment
1 parent 0d6b659 commit d3830ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/unused-terms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ m.turnedOn.turnedOn // ERROR
3232
// State is must be Off
3333
```
3434

35-
These constraint that only depend on the types at the call site are completly resolved at compile time and never used at runtime.
35+
Note that in the code above the actual implicit arguments for `IsOff` are never used at runtime; they serve only to establish the right constraints at compile time.
3636
As these parameters are never used at runtime there is not real need to have them around, but they still need to be
3737
present at runtime to be able to do separate compilation and retain binary compatiblity. Unused parameters are contractually
3838
obligated to not be used at runtime, enforcing the essence of evidences on types and allows them to always be optimized away.

0 commit comments

Comments
 (0)