From e1dfb1fd5efa0b658a8d9b8f962e3aa08748a4c1 Mon Sep 17 00:00:00 2001 From: Ross Delinger Date: Thu, 31 Oct 2024 16:09:41 -0700 Subject: [PATCH] fix dict comprehensions as well --- starlark_syntax/src/syntax/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starlark_syntax/src/syntax/ast.rs b/starlark_syntax/src/syntax/ast.rs index 4b993c663..122936a1c 100644 --- a/starlark_syntax/src/syntax/ast.rs +++ b/starlark_syntax/src/syntax/ast.rs @@ -605,7 +605,7 @@ impl Display for Expr { for x in c { write!(f, "{}", x)?; } - f.write_str("}}") + f.write_str("}") } Expr::Literal(x) => write!(f, "{}", x), Expr::FString(x) => {