syntex_syntax::print::pprust
pub fn to_string<F>(f: F) -> String where F: FnOnce(&mut State) -> Result<()>