Fixing a mismatched square bracket typo in src/libstd/slice.rs

Fixing a small typo in the documentation for `src/libstd/slice.rs`