reference: make the line a little more readable
This commit is contained in:
parent
b8b18aac12
commit
69b1d75b76
@ -984,8 +984,8 @@ fn first((value, _): (i32, i32)) -> i32 { value }
|
|||||||
#### Generic functions
|
#### Generic functions
|
||||||
|
|
||||||
A _generic function_ allows one or more _parameterized types_ to appear in its
|
A _generic function_ allows one or more _parameterized types_ to appear in its
|
||||||
signature. Each type parameter must be explicitly declared, in an
|
signature. Each type parameter must be explicitly declared in an
|
||||||
angle-bracket-enclosed, comma-separated list following the function name.
|
angle-bracket-enclosed and comma-separated list, following the function name.
|
||||||
|
|
||||||
```rust,ignore
|
```rust,ignore
|
||||||
// foo is generic over A and B
|
// foo is generic over A and B
|
||||||
|
Loading…
Reference in New Issue
Block a user