diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-10-02 11:47:51 -0700 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-10-02 11:47:51 -0700 |
| commit | 7bf56df4c8bf40a16f2743447b7688343642f370 (patch) | |
| tree | a3854d324e66cf84cc78d1a89faff4a6265a9058 /src/doc/reference.md | |
| parent | 2f365ffdad40475e8f70f7af7f210d6c597b60f5 (diff) | |
| download | rust-7bf56df4c8bf40a16f2743447b7688343642f370.tar.gz rust-7bf56df4c8bf40a16f2743447b7688343642f370.zip | |
Revert "Put slicing syntax behind a feature gate."
This reverts commit 95cfc35607ccf5f02f02de56a35a9ef50fa23a82.
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![]; |
