Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
twistedfall committed Oct 23, 2022
1 parent f91edad commit 3a9fb6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manual/core/vector.rs
Expand Up @@ -335,7 +335,7 @@ impl<T: VectorElement> OpenCVTypeExternContainer for Vector<T> where Self: Vecto
}

#[inline(always)]
fn vector_index_check(index: size_t, len: size_t) -> crate::Result<()> {
fn vector_index_check(index: size_t, len: size_t) -> Result<()> {
if index >= len {
Err(crate::Error::new(crate::core::StsOutOfRange, format!("Index: {} out of bounds: 0..{}", index, len)))
} else {
Expand Down

0 comments on commit 3a9fb6d

Please sign in to comment.