cloudhead / cloudhead/nonempty

Implement range indexing

Open
#71 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.