We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e5adc2 commit ad9da5eCopy full SHA for ad9da5e
src/doc/reference.md
@@ -2432,7 +2432,7 @@ parentheses. They are used to create [tuple-typed](#tuple-types) values.
2432
```{.tuple}
2433
(0,);
2434
(0.0, 4.5);
2435
-("a", 4us, true);
+("a", 4usize, true);
2436
```
2437
2438
### Unit expressions
@@ -2903,7 +2903,7 @@ An example of a for loop over the contents of an array:
2903
2904
2905
# type Foo = i32;
2906
-# fn bar(f: Foo) { }
+# fn bar(f: &Foo) { }
2907
# let a = 0;
2908
# let b = 0;
2909
# let c = 0;
0 commit comments