mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-12 20:16:49 +00:00
parent
923423fa32
commit
49e86a1e65
@ -61,12 +61,12 @@ impl<'a> FmtVisitor<'a> {
|
||||
let rewrite = stmt.rewrite(&self.get_context(),
|
||||
self.config.max_width - self.block_indent.width(),
|
||||
self.block_indent);
|
||||
|
||||
self.push_rewrite(stmt.span, rewrite);
|
||||
}
|
||||
ast::StmtKind::Mac(ref mac) => {
|
||||
let (ref mac, _macro_style, _) = **mac;
|
||||
self.visit_mac(mac, None, MacroPosition::Statement);
|
||||
self.format_missing(stmt.span.hi);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -75,3 +75,7 @@ gfx_pipeline!(pipe {
|
||||
vbuf: gfx::VertexBuffer<Vertex> = (),
|
||||
out: gfx::RenderTarget<ColorFormat> = "Target0",
|
||||
});
|
||||
|
||||
fn issue_1279() {
|
||||
println!("dsfs"); // a comment
|
||||
}
|
||||
|
@ -76,3 +76,7 @@ gfx_pipeline!(pipe {
|
||||
vbuf: gfx::VertexBuffer<Vertex> = (),
|
||||
out: gfx::RenderTarget<ColorFormat> = "Target0",
|
||||
});
|
||||
|
||||
fn issue_1279() {
|
||||
println!("dsfs"); // a comment
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user