From 05bd3e0b7f6bed0b9c053e570b028c7db186199a Mon Sep 17 00:00:00 2001 From: Nan Xiao Date: Thu, 25 Apr 2019 10:43:38 +0800 Subject: [PATCH] A small typo? --- src/ch03-01-variables-and-mutability.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch03-01-variables-and-mutability.md b/src/ch03-01-variables-and-mutability.md index 6f5e6c7b15..b14bba5244 100644 --- a/src/ch03-01-variables-and-mutability.md +++ b/src/ch03-01-variables-and-mutability.md @@ -65,7 +65,7 @@ But mutability can be very useful. Variables are immutable only by default; as you did in Chapter 2, you can make them mutable by adding `mut` in front of the variable name. In addition to allowing this value to change, `mut` conveys intent to future readers of the code by indicating that other parts of the code -will be changing this variable value. +will be changing this variable's value. For example, let’s change *src/main.rs* to the following: