Function parse_sap_odata::utils::run_rustfmt
source · pub fn run_rustfmt(
buffer: &Vec<u8>,
metadata_file_name: &str
) -> Result<Vec<u8>, Error>Expand description
Pass the generated source code through rustfmt
If rustfmt finds any errors, the source code is still written to OUT_DIR, but with failed_ prefixed to the
filename