rust/rustfmt-core/tests/source/issue-447.rs
2018-02-07 22:48:05 +09:00

40 lines
635 B
Rust

// rustfmt-normalize_comments: true
fn main() {
if /* shouldn't be dropped
shouldn't be dropped */
cond /* shouldn't be dropped
shouldn't be dropped */
{
} /* shouldn't be dropped
shouldn't be dropped */
else /* shouldn't be dropped
shouldn't be dropped */
if /* shouldn't be dropped
shouldn't be dropped */
cond /* shouldn't be dropped
shouldn't be dropped */
{
} /* shouldn't be dropped
shouldn't be dropped */
else /* shouldn't be dropped
shouldn't be dropped */
{
}
if /* shouldn't be dropped
shouldn't be dropped */
let Some(x) = y/* shouldn't be dropped
shouldn't be dropped */
{
}
}