Skip to content

Commit 7abb40c

Browse files
committed
reference: improve readability
1 parent 20cf4cf commit 7abb40c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/doc/reference.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -1418,9 +1418,13 @@ impl<T> Container for Vec<T> {
14181418
```
14191419

14201420
Generic functions may use traits as _bounds_ on their type parameters. This
1421-
will have two effects: only types that have the trait may instantiate the
1422-
parameter, and within the generic function, the methods of the trait can be
1423-
called on values that have the parameter's type. For example:
1421+
will have two effects:
1422+
1423+
- Only types that have the trait may instantiate the parameter.
1424+
- Within the generic function, the methods of the trait can be
1425+
called on values that have the parameter's type.
1426+
1427+
For example:
14241428

14251429
```
14261430
# type Surface = i32;

0 commit comments

Comments
 (0)