Function dia_assert::try_n_with
[−]
[src]
pub fn try_n_with<F, S>(n: u8, f: F) where
F: Fn() -> S,
S: AsRef<str>,
Tries n
times.
This function makes new Assert
with 1
as exit code; then calls try_n_with()
.