We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b67c30 commit 2f25a4aCopy full SHA for 2f25a4a
compiler/rustc_ast_pretty/src/pprust/state.rs
@@ -2239,7 +2239,6 @@ impl<'a> State<'a> {
2239
}
2240
ast::ExprKind::TryBlock(ref blk) => {
2241
self.head("try");
2242
- self.space();
2243
self.print_block_with_attrs(blk, attrs)
2244
2245
ast::ExprKind::Err => {
src/test/ui/macros/stringify.rs
@@ -256,7 +256,7 @@ fn test_expr() {
256
assert_eq!(stringify_expr!(expr.await), "expr.await");
257
258
// ExprKind::TryBlock
259
- assert_eq!(stringify_expr!(try {}), "try {}"); // FIXME
+ assert_eq!(stringify_expr!(try {}), "try {}");
260
261
// ExprKind::Assign
262
assert_eq!(stringify_expr!(expr = true), "expr = true");
0 commit comments