Skip to content

Commit 00aa232

Browse files
committed
Merge pull request #472 from marcusklaas/rustup4000
Remove unsafe push and pop variants
2 parents dfa8ae4 + 5cc60dc commit 00aa232

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/expr.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,6 @@ impl Rewrite for ast::Block {
426426
visitor.block_indent = context.block_indent + context.overflow_indent;
427427

428428
let prefix = match self.rules {
429-
ast::BlockCheckMode::PushUnsafeBlock(..) |
430429
ast::BlockCheckMode::UnsafeBlock(..) => {
431430
let snippet = context.snippet(self.span);
432431
let open_pos = try_opt!(snippet.find_uncommented("{"));
@@ -463,7 +462,6 @@ impl Rewrite for ast::Block {
463462

464463
prefix
465464
}
466-
ast::BlockCheckMode::PopUnsafeBlock(..) |
467465
ast::BlockCheckMode::DefaultBlock => {
468466
visitor.last_pos = self.span.lo;
469467

0 commit comments

Comments
 (0)