rustc_pattern_analysis::rustc::print

Function start_or_comma

source
fn start_or_comma() -> impl FnMut() -> &'static str
Expand description

Returns a closure that will return "" when called the first time, and then return ", " when called any subsequent times. Useful for printing comma-separated lists.