about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-11-27 09:38:58 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-11-27 09:38:58 +1100
commit566df2722a388cced3725e7ae1fc6cfb4e044335 (patch)
tree8e2d10494c4f722c1fbbbd100971a7d760f2de26
parentf1eee2843fd3e62c71d993f732082b28cb5b22a0 (diff)
downloadrust-566df2722a388cced3725e7ae1fc6cfb4e044335.tar.gz
rust-566df2722a388cced3725e7ae1fc6cfb4e044335.zip
Fix some backticks in comments.
-rw-r--r--compiler/rustc_ast_pretty/src/pprust/state.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast_pretty/src/pprust/state.rs b/compiler/rustc_ast_pretty/src/pprust/state.rs
index a3bf47328ea..86aba343bc4 100644
--- a/compiler/rustc_ast_pretty/src/pprust/state.rs
+++ b/compiler/rustc_ast_pretty/src/pprust/state.rs
@@ -151,7 +151,7 @@ pub fn print_crate<'a>(
 /// Note: some old proc macros parse pretty-printed output, so changes here can
 /// break old code. For example:
 /// - #63896: `#[allow(unused,` must be printed rather than `#[allow(unused ,`
-/// - #73345: `#[allow(unused)] must be printed rather than `# [allow(unused)]
+/// - #73345: `#[allow(unused)]` must be printed rather than `# [allow(unused)]`
 ///
 fn space_between(tt1: &TokenTree, tt2: &TokenTree) -> bool {
     use token::*;