Trim the indentation on macros which heuristically appear to use block-style indentation (#3178)
This commit is contained in:
parent
16d5f507b6
commit
cd8bb50aea
6 changed files with 62 additions and 12 deletions
|
|
@ -184,6 +184,19 @@ fn issue1577() {
|
|||
});
|
||||
}
|
||||
|
||||
// #3174
|
||||
fn issue_3174() {
|
||||
let data =
|
||||
if let Some(debug) = error.debug_info() {
|
||||
json!({
|
||||
"errorKind": format!("{:?}", error.err_kind()),
|
||||
"debugMessage": debug.message,
|
||||
})
|
||||
} else {
|
||||
json!({"errorKind": format!("{:?}", error.err_kind())})
|
||||
};
|
||||
}
|
||||
|
||||
gfx_pipeline!(pipe {
|
||||
vbuf: gfx::VertexBuffer<Vertex> = (),
|
||||
out: gfx::RenderTarget<ColorFormat> = "Target0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue