Generate the types file.
(filename: &str, out_dir: &std::path::Path)
| 62 | |
| 63 | /// Generate the types file. |
| 64 | pub(crate) fn generate(filename: &str, out_dir: &std::path::Path) -> Result<(), error::Error> { |
| 65 | let mut fmt = Formatter::new(Language::Rust); |
| 66 | emit_types(&mut fmt); |
| 67 | fmt.write(filename, out_dir)?; |
| 68 | Ok(()) |
| 69 | } |
nothing calls this directly
no test coverage detected