(&mut self, iter: I)
| 467 | |
| 468 | #[inline] |
| 469 | fn append_strings<'a, I>(&mut self, iter: I) |
| 470 | where |
| 471 | I: Iterator<Item = Option<&'a str>>, |
| 472 | { |
| 473 | for value in iter.flatten() { |
| 474 | if self.has_value { |
| 475 | self.accumulated_string.push_str(&self.delimiter); |
| 476 | } |
| 477 | |
| 478 | self.accumulated_string.push_str(value); |
| 479 | self.has_value = true; |
| 480 | } |
| 481 | } |
| 482 | } |
| 483 | |
| 484 | impl Accumulator for SimpleStringAggAccumulator { |