diff options
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index c3b61f6435c..3da3d4c5807 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -3828,7 +3828,7 @@ type signature of `print`, and the cast expression in `main`. Within the body of an item that has type parameter declarations, the names of its type parameters are types: -```ignore +``` fn map<A: Clone, B: Clone>(f: |A| -> B, xs: &[A]) -> Vec<B> { if xs.len() == 0 { return vec![]; |
