typst_utils

Function debug

source
pub fn debug<F>(f: F) -> impl Debug
where F: Fn(&mut Formatter<'_>) -> Result,
Expand description

Turn a closure into a struct implementing Debug.