[][src]Function dia_assert::try_once

pub fn try_once<T: AsRef<Level>>(level: T)

Tries once

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