better out of range error msg
This commit is contained in:
parent
03997b78e7
commit
f2885b7e00
|
@ -23,7 +23,7 @@ pub mod error {
|
|||
NoDefaultSubvolFsRoot,
|
||||
#[error("INode could not be found in FsTree")]
|
||||
INodeNotFound,
|
||||
#[error("attempted to access item out of bounds")]
|
||||
#[error("attempted to access {index}th item out of bounds {range:?}")]
|
||||
OutOfBounds {
|
||||
range: core::ops::Range<usize>,
|
||||
index: usize,
|
||||
|
|
Loading…
Reference in a new issue