pub fn write_data_value_list(f: &mut Formatter<'_>, list: &[DataValue]) -> Result
Expand description

Helper function for displaying Vec<DataValue>.

Examples found in repository?
src/data_value.rs (line 301)
296
297
298
299
300
301
302
303
304
    fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
        if self.0.len() == 1 {
            write!(f, "{}", self.0[0])
        } else {
            write!(f, "[")?;
            write_data_value_list(f, &self.0)?;
            write!(f, "]")
        }
    }