mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
doc: correct grammar (#7801)
This commit is contained in:
@ -897,7 +897,7 @@ It works like this:
|
|||||||
```v oksyntax
|
```v oksyntax
|
||||||
mut x := MySumType(MyStruct{123})
|
mut x := MySumType(MyStruct{123})
|
||||||
if mut x is MyStruct {
|
if mut x is MyStruct {
|
||||||
// x is casted to MyStruct even it's mutable
|
// x is casted to MyStruct even if it's mutable
|
||||||
// without the mut keyword that wouldn't work
|
// without the mut keyword that wouldn't work
|
||||||
println(x)
|
println(x)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user