-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Labels
Description
While compiling an updated version (c235259) I got the following error
error[E0277]: the type `[u8]` cannot be indexed by `(Bound<usize>, Bound<usize>)`
--> /home/daniel/.cargo/git/checkouts/noodles-f00ebc122d065317/c235259/noodles-fasta/src/reader.rs:251:36
|
251 | Ok(Record::new(definition, sequence[range].to_vec()))
| ^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize`
|
= help: the trait `SliceIndex<[u8]>` is not implemented for `(Bound<usize>, Bound<usize>)`
= note: required because of the requirements on the impl of `std::ops::Index<(Bound<usize>, Bound<usize>)>` for `Vec<u8>`