This commit is contained in:
Joshua M. Clulow 2021-06-19 08:08:18 +00:00
parent 575ec817d8
commit c4c1bc02bc
2 changed files with 3 additions and 1 deletions

2
rustfmt.toml Normal file
View File

@ -0,0 +1,2 @@
edition = "2018"
max_width = 80

View File

@ -924,7 +924,7 @@ fn gen(api: &OpenAPI, ts: &mut TypeSpace) -> Result<String> {
a(&format!(
" ) -> Result<{}> {{",
ts.render_type(&tid)?
));
));
} else {
bail!("media type encoding, no schema: {:#?}", mt);
}