@@ -18,7 +18,7 @@ sealed trait State
1818final class On extends State
1919final class Off extends State
2020
21- @ implicitNotFound(" State is must be Off" )
21+ @ implicitNotFound(" State must be Off" )
2222class IsOff [S <: State ]
2323object IsOff {
2424 implicit def isOff : IsOff [Off ] = new IsOff [Off ]
@@ -32,7 +32,7 @@ val m = new Machine[Off]
3232m.turnedOn
3333m.turnedOn.turnedOn // ERROR
3434// ^
35- // State is must be Off
35+ // State must be Off
3636```
3737
3838Note that in the code above the actual context arguments for ` IsOff ` are never
@@ -118,14 +118,14 @@ sealed trait State
118118final class On extends State
119119final class Off extends State
120120
121- @ implicitNotFound(" State is must be Off" )
121+ @ implicitNotFound(" State must be Off" )
122122class IsOff [S <: State ]
123123object IsOff {
124124 // will not be called at runtime for turnedOn, the compiler will only require that this evidence exists
125125 given IsOff [Off ] = new IsOff [Off ]
126126}
127127
128- @ implicitNotFound(" State is must be On" )
128+ @ implicitNotFound(" State must be On" )
129129class IsOn [S <: State ]
130130object IsOn {
131131 // will not exist at runtime, the compiler will only require that this evidence exists at compile time
@@ -150,11 +150,11 @@ object Test {
150150
151151 // m.turnedOff
152152 // ^
153- // State is must be On
153+ // State must be On
154154
155155 // m.turnedOn.turnedOn
156156 // ^
157- // State is must be Off
157+ // State must be Off
158158 }
159159}
160160```
@@ -196,4 +196,4 @@ object Test {
196196}
197197```
198198
199- [ More Details] ( ./erased-terms-spec.md )
199+ [ More Details] ( ./erased-terms-spec.md )
0 commit comments