1
0
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:
Saurabh
2021-01-05 01:23:28 +05:30
committed by GitHub
parent 040b923665
commit d5b510df80

View File

@ -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)
} }