cloudhead / cloudhead/nonempty
Implement range indexing
Open
- Dominant language
- Rust
- Stars
- 74
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
It should be possible to index a `NonEmpty` with a `Range{,From,To,Full}`:
```rust
fn foo(a: Vec, b: NonEmpty) {
let _ = a[5..];
let _ = b[5..]; // mismatched types expected type `usize` found struct
// `std::ops::RangeFrom<{integer}>`
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.