Function rustc_pattern_analysis::rustc::print::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.