From 635ed480b9f497a0b7d29f2ca970014e122918d0 Mon Sep 17 00:00:00 2001 From: Angelo Polo Date: Wed, 26 Oct 2016 21:13:31 -0400 Subject: [PATCH] Add error note to illegal code snippet --- src/doc/book/structs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/book/structs.md b/src/doc/book/structs.md index 328db25b819d8..d6960b10b0805 100644 --- a/src/doc/book/structs.md +++ b/src/doc/book/structs.md @@ -61,7 +61,7 @@ write something like this: ```rust,ignore struct Point { - mut x: i32, + mut x: i32, // This causes an error. y: i32, } ```