about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2024-02-29 05:25:29 -0500
committerGitHub <noreply@github.com>2024-02-29 05:25:29 -0500
commitd6e0f5cb0c9e293861a7c6feaa67ccd181bda54a (patch)
tree3b50e32a0a7b02b48d1d51a041ed610474227291 /compiler
parent769eb2cd619d577f4a34457213c7a3d9b917ef95 (diff)
parentda37c8f1f2ed24bc06667bf13aedd63b4aad2b9f (diff)
downloadrust-d6e0f5cb0c9e293861a7c6feaa67ccd181bda54a.tar.gz
rust-d6e0f5cb0c9e293861a7c6feaa67ccd181bda54a.zip
Rollup merge of #121777 - sisungo:master, r=oli-obk
Fix typo in `rustc_passes/messages.ftl`

Line 190 contains unpaired parentheses:

```
passes_doc_cfg_hide_takes_list =
    `#[doc(cfg_hide(...)]` takes a list of attributes
```

The `#[doc(cfg_hide(...)]` contains unpaired parentheses. This PR changes it to `#[doc(cfg_hide(...))]`, which made the parentheses paired.
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_passes/messages.ftl2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_passes/messages.ftl b/compiler/rustc_passes/messages.ftl
index 648ef9d51de..c223b847528 100644
--- a/compiler/rustc_passes/messages.ftl
+++ b/compiler/rustc_passes/messages.ftl
@@ -187,7 +187,7 @@ passes_doc_attr_not_crate_level =
     `#![doc({$attr_name} = "...")]` isn't allowed as a crate-level attribute
 
 passes_doc_cfg_hide_takes_list =
-    `#[doc(cfg_hide(...)]` takes a list of attributes
+    `#[doc(cfg_hide(...))]` takes a list of attributes
 
 passes_doc_expect_str =
     doc {$attr_name} attribute expects a string: #[doc({$attr_name} = "a")]