From 23b1d172a8245f810f179d939488325fff005158 Mon Sep 17 00:00:00 2001 From: Michael Rosenberg <42micro@gmail.com> Date: Fri, 24 Apr 2015 00:54:11 -0400 Subject: [PATCH] More small syntax changes in reference.md --- src/doc/reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/reference.md b/src/doc/reference.md index bd337755bed..059da891925 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -2432,7 +2432,7 @@ parentheses. They are used to create [tuple-typed](#tuple-types) values. ```{.tuple} (0,); (0.0, 4.5); -("a", 4us, true); +("a", 4usize, true); ``` ### Unit expressions @@ -2903,7 +2903,7 @@ An example of a for loop over the contents of an array: ``` # type Foo = i32; -# fn bar(f: Foo) { } +# fn bar(f: &Foo) { } # let a = 0; # let b = 0; # let c = 0;