[][src]Function dia_assert::try_once_with

pub fn try_once_with<F>(f: F) where
    F: Fn() -> String

Tries once

This function calls try_n_with() with 1 passed as n.