You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be convenient to be able to reuse in a variety of contexts, rather than duplicate a similar error for every error enum.
Proposal
src/types.rs
/// Index out of bounds error.#[derive(Debug,Clone,Copy)]pubstructIndexOutOfBoundsError{/// The index that is out of range.pubindex:usize,/// The length of the container.publen:usize,}