(v: I)
| 66 | } |
| 67 | |
| 68 | pub(crate) fn comma_separated<'a, I>(v: I) -> RcDoc<'a, ()> |
| 69 | where |
| 70 | I: IntoIterator<Item = RcDoc<'a, ()>>, |
| 71 | { |
| 72 | RcDoc::intersperse(v, RcDoc::concat([RcDoc::text(","), RcDoc::line()])).group() |
| 73 | } |
| 74 | |
| 75 | pub(crate) fn bracket<A: Into<String>, B: Into<String>>(left: A, d: RcDoc, right: B) -> RcDoc { |
| 76 | bracket_doc( |
no test coverage detected