(stylist: &'a Stylist<'a>)
| 102 | |
| 103 | impl<'a> From<&'a Stylist<'a>> for Generator<'a> { |
| 104 | fn from(stylist: &'a Stylist<'a>) -> Self { |
| 105 | Self { |
| 106 | indent: stylist.indentation(), |
| 107 | line_ending: stylist.line_ending(), |
| 108 | mode: Mode::default(), |
| 109 | buffer: String::new(), |
| 110 | indent_depth: 0, |
| 111 | num_newlines: 0, |
| 112 | initial: true, |
| 113 | } |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | impl<'a> Generator<'a> { |
nothing calls this directly
no test coverage detected