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