Function dia_assert::try_with_n [] [src]

pub fn try_with_n<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_with_n().