rustfmt
This commit is contained in:
parent
575ec817d8
commit
c4c1bc02bc
|
@ -0,0 +1,2 @@
|
||||||
|
edition = "2018"
|
||||||
|
max_width = 80
|
|
@ -924,7 +924,7 @@ fn gen(api: &OpenAPI, ts: &mut TypeSpace) -> Result<String> {
|
||||||
a(&format!(
|
a(&format!(
|
||||||
" ) -> Result<{}> {{",
|
" ) -> Result<{}> {{",
|
||||||
ts.render_type(&tid)?
|
ts.render_type(&tid)?
|
||||||
));
|
));
|
||||||
} else {
|
} else {
|
||||||
bail!("media type encoding, no schema: {:#?}", mt);
|
bail!("media type encoding, no schema: {:#?}", mt);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue