From c5da0619d102493ce39bc36554e14191e964c1b4 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 28 Mar 2023 20:21:23 -0700 Subject: [PATCH] Fix mismatched punctuation in Debug impl of AttrId --- compiler/rustc_ast/src/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_ast/src/ast.rs b/compiler/rustc_ast/src/ast.rs index ab8b7f632e8ef..cc0fc7b8358fb 100644 --- a/compiler/rustc_ast/src/ast.rs +++ b/compiler/rustc_ast/src/ast.rs @@ -2570,7 +2570,7 @@ pub enum AttrStyle { rustc_index::newtype_index! { #[custom_encodable] - #[debug_format = "AttrId({})]"] + #[debug_format = "AttrId({})"] pub struct AttrId {} }