about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2022-12-10 04:48:37 +0200
committerTshepang Mbambo <tshepang@gmail.com>2022-12-10 04:48:37 +0200
commit6a4394637052a9536ff994faed88ee95e8172fe1 (patch)
treeeb12a87831e541ba9bde6cd52a74394f0c1ce2c9
parent0d5573e6daf99a5b98ace3dfcc4be2eb64867169 (diff)
downloadrust-6a4394637052a9536ff994faed88ee95e8172fe1.tar.gz
rust-6a4394637052a9536ff994faed88ee95e8172fe1.zip
separate heading from body
-rw-r--r--compiler/rustc_span/src/symbol.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 61253845497..ba77c5d94fd 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -1710,7 +1710,8 @@ impl fmt::Display for Ident {
     }
 }
 
-/// This is the most general way to print identifiers.
+/// The most general type to print identifiers.
+///
 /// AST pretty-printer is used as a fallback for turning AST structures into token streams for
 /// proc macros. Additionally, proc macros may stringify their input and expect it survive the
 /// stringification (especially true for proc macro derives written between Rust 1.15 and 1.30).