mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 00:24:03 +00:00
6a7824787e
* Preserve comments in empty statements Closes #4018 * fixup! Preserve comments in empty statements
14 lines
171 B
Rust
14 lines
171 B
Rust
fn main() {
|
|
;
|
|
/* extra comment */ ;
|
|
}
|
|
|
|
fn main() {
|
|
println!("");
|
|
// comment 1
|
|
// comment 2
|
|
// comment 3
|
|
// comment 4
|
|
;
|
|
}
|