From 928ced3df8003af8aa126c30e4a45e2a0de601d1 Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 6 May 2021 14:43:41 +0100 Subject: [PATCH] docs: small English improvement (#10020) I also suggest globally replacing "is casted" with "is cast" throughout since this is better English. --- doc/docs.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/docs.md b/doc/docs.md index 3878ddeaed..678333da0a 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -1069,9 +1069,9 @@ match x.bar { ``` Mutable variables can change, and doing a cast would be unsafe. -However, sometimes it's needed to have a type cast despite of mutability. -In this case the developer has to mark the expression with a `mut` keyword -to tell the compiler that you're aware of what you're doing. +However, sometimes it's useful to type cast despite mutability. +In such cases the developer must mark the expression with the `mut` keyword +to tell the compiler that they know what they're doing. It works like this: ```v oksyntax