Fix an inconsitent coding style

This commit is contained in:
Naoki Kanatani 2017-05-07 08:55:46 +09:00
parent ba21cd0b7b
commit b58cb13824
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ let mut a = Point { x: 5, y: 6 };
a.x = 10;
let b = Point { x: 5, y: 6};
let b = Point { x: 5, y: 6 };
b.x = 10; // Error: cannot assign to immutable field `b.x`.
```