3 lines
99 B
Rust
3 lines
99 B
Rust
pub fn vec_has_error<T, E>(target: &[Result<T, E>]) -> bool {
|
|
target.iter().any(|t| t.is_err())
|
|
}
|