(output: &mut CodeIndenter<String>, f: impl FnOnce(&mut CodeIndenter<String>) -> R)
| 1555 | } |
| 1556 | |
| 1557 | fn indented_block<R>(output: &mut CodeIndenter<String>, f: impl FnOnce(&mut CodeIndenter<String>) -> R) -> R { |
| 1558 | writeln!(output, "{{"); |
| 1559 | let res = f(&mut output.indented(1)); |
| 1560 | writeln!(output, "}}"); |
| 1561 | res |
| 1562 | } |
| 1563 | |
| 1564 | /// Builds C# function parameter and argument lists from an iterator of parameter names and types. |
| 1565 | fn build_func_params_and_args<'a, I>(module: &ModuleDef, params_iter: I, namespace: &str) -> (String, String) |
no test coverage detected
searching dependent graphs…