about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2023-03-28 20:21:23 -0700
committerDavid Tolnay <dtolnay@gmail.com>2023-03-28 20:21:23 -0700
commitc5da0619d102493ce39bc36554e14191e964c1b4 (patch)
treea863b7cf36235656d9c7fc0c7545ac22da469071
parentcdbbce0a9e5c839295cf9a8714798af45d541e20 (diff)
downloadrust-c5da0619d102493ce39bc36554e14191e964c1b4.tar.gz
rust-c5da0619d102493ce39bc36554e14191e964c1b4.zip
Fix mismatched punctuation in Debug impl of AttrId
-rw-r--r--compiler/rustc_ast/src/ast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast/src/ast.rs b/compiler/rustc_ast/src/ast.rs
index ab8b7f632e8..cc0fc7b8358 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 {}
 }