]> git.lizzy.rs Git - rust.git/commitdiff
doc: Minor example formatting in 11 References
authorMike Boutin <mike.boutin@gmail.com>
Wed, 30 Apr 2014 00:35:26 +0000 (20:35 -0400)
committerMike Boutin <mike.boutin@gmail.com>
Mon, 5 May 2014 15:24:00 +0000 (11:24 -0400)
src/doc/tutorial.md

index d64af8e2c65e0955b7301f8c72955dd00d47ad91..5378f40238cb2e5058d714bf20c5c90c346c5dbe 100644 (file)
@@ -1413,7 +1413,7 @@ contains a point, but allocated in a different location:
 
 ~~~
 # struct Point { x: f64, y: f64 }
-let on_the_stack : Point  =  Point { x: 3.0, y: 4.0 };
+let on_the_stack :  Point =  Point { x: 3.0, y: 4.0 };
 let owned_box    : ~Point = ~Point { x: 7.0, y: 9.0 };
 ~~~