mozilla/rust — pull request #5968 by gifnksm (2013-04-20 02:44:40+00:00)
Title: libcore: Fix assertion failure in vec::windowe.

vec::windowed fails if given window size is greater than vector length + 1.

```rust
for vec::windowed(7, &[1,2,3,4,5,6]) |vs| {} // => do nothing without errors
for vec::windowed(8, &[1,2,3,4,5,6]) |vs| {} // => assertion failure in vec::slice
```