Skip to content

Commit ad9da5e

Browse files
Michael Rosenbergsteveklabnik
Michael Rosenberg
authored andcommitted
More small syntax changes in reference.md
1 parent 9e5adc2 commit ad9da5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/reference.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2432,7 +2432,7 @@ parentheses. They are used to create [tuple-typed](#tuple-types) values.
24322432
```{.tuple}
24332433
(0,);
24342434
(0.0, 4.5);
2435-
("a", 4us, true);
2435+
("a", 4usize, true);
24362436
```
24372437

24382438
### Unit expressions
@@ -2903,7 +2903,7 @@ An example of a for loop over the contents of an array:
29032903

29042904
```
29052905
# type Foo = i32;
2906-
# fn bar(f: Foo) { }
2906+
# fn bar(f: &Foo) { }
29072907
# let a = 0;
29082908
# let b = 0;
29092909
# let c = 0;

0 commit comments

Comments
 (0)