doc: correct grammar (#7801)

pull/7871/head
Saurabh 2021-01-05 01:23:28 +05:30 committed by GitHub
parent 040b923665
commit d5b510df80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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