Revert "Put slicing syntax behind a feature gate."

This reverts commit 95cfc35607ccf5f02f02de56a35a9ef50fa23a82.
This commit is contained in:
Aaron Turon 2014-10-02 11:47:51 -07:00 committed by Manish Goregaokar
parent f12a8baf47
commit 566a0d6473
1 changed files with 1 additions and 1 deletions

View File

@ -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![];