This website requires JavaScript.
Explore
Help
Sign in
emgauwa
/
common
Watch
2
Star
0
Fork
You've already forked common
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
452454f9e8
common
/
emgauwa-lib
/
src
/
utils.rs
4 lines
99 B
Rust
Raw
Normal View
History
Unescape
Escape
Add function and prefer .iter()
2022-07-17 18:19:36 +00:00
pub
fn
vec_has_error
<
T
,
E
>
(
target
:
&
[
Result
<
T
,
E
>
]
)
->
bool
{
Switch spaces to tabs
2022-07-19 22:38:09 +00:00
target
.
iter
(
)
.
any
(
|
t
|
t
.
is_err
(
)
)
Add function and prefer .iter()
2022-07-17 18:19:36 +00:00
}
Reference in a new issue
Copy permalink