Skip to main content

render_str_list

Function render_str_list 

Source
pub fn render_str_list<I, S>(items: I) -> String
where I: IntoIterator<Item = S>, S: AsRef<str>,
Expand description

Renders a sequence of string-like items as a single-quoted, bracketed list, e.g. ['Enabled', 'Suspended']. Use this for enum candidates, valid attribute names, and other lists of plain strings.