Function wrap_item

Source
fn wrap_item<W, F, T>(w: &mut W, f: F) -> T
where W: Write, F: FnOnce(&mut W) -> T,