Add a newline between items (#5)
This commit is contained in:
parent
865dbd4be4
commit
874f959a75
|
@ -824,7 +824,10 @@ fn generate(api: &OpenAPI, ts: &mut TypeSpace) -> Result<String> {
|
||||||
#(#methods)*
|
#(#methods)*
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
let file = rustfmt_wrapper::rustfmt(file).unwrap();
|
let file = rustfmt_wrapper::rustfmt(file)
|
||||||
|
.unwrap()
|
||||||
|
// Format any indented item.
|
||||||
|
.replace(" }\n", " }\n\n");
|
||||||
|
|
||||||
Ok(file)
|
Ok(file)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue