(extra_includes: &[&str])
| 5243 | } |
| 5244 | |
| 5245 | fn new_cpp(extra_includes: &[&str]) -> Self { |
| 5246 | let mut output = CodeIndenter::new(String::new(), " "); |
| 5247 | print_auto_generated_file_comment(&mut output); |
| 5248 | for include in extra_includes { |
| 5249 | writeln!(output, "#include \"{include}\""); |
| 5250 | } |
| 5251 | writeln!(output); |
| 5252 | Self { output } |
| 5253 | } |
| 5254 | |
| 5255 | fn into_inner(self) -> String { |
| 5256 | self.output.into_inner() |
nothing calls this directly
no test coverage detected