(&self, f: &mut AstFormatter<W>)
| 33 | T: AstDisplay, |
| 34 | { |
| 35 | fn fmt<W: fmt::Write>(&self, f: &mut AstFormatter<W>) { |
| 36 | let mut delim = ""; |
| 37 | for t in self.slice { |
| 38 | f.write_str(delim); |
| 39 | delim = self.sep; |
| 40 | t.fmt(f); |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | impl<'a, T> std::fmt::Display for DisplaySeparated<'a, T> |
no test coverage detected