From af45c62a02e29fe14625446e909df4a35431d6c7 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Sun, 5 May 2013 13:55:23 -0700 Subject: [PATCH] missing semicolon at the end of struct declaration --- doc/rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/rust.md b/doc/rust.md index 136c7ee9da3f2..385596e841d86 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -1035,7 +1035,7 @@ A _structure_ is a nominal [structure type](#structure-types) defined with the k An example of a `struct` item and its use: ~~~~ -struct Point {x: int, y: int} +struct Point {x: int, y: int}; let p = Point {x: 10, y: 11}; let px: int = p.x; ~~~~