We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a6e4d68 + 2f25a4a commit 682b4cbCopy full SHA for 682b4cb
compiler/rustc_ast_pretty/src/pprust/state.rs
@@ -2241,7 +2241,6 @@ impl<'a> State<'a> {
2241
}
2242
ast::ExprKind::TryBlock(ref blk) => {
2243
self.head("try");
2244
- self.space();
2245
self.print_block_with_attrs(blk, attrs)
2246
2247
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