]> git.lizzy.rs Git - rust.git/commitdiff
separate heading from body
authorTshepang Mbambo <tshepang@gmail.com>
Sat, 10 Dec 2022 02:48:37 +0000 (04:48 +0200)
committerTshepang Mbambo <tshepang@gmail.com>
Sat, 10 Dec 2022 02:48:37 +0000 (04:48 +0200)
compiler/rustc_span/src/symbol.rs

index 61253845497238c664ac8116ae14f4b29be7f12f..ba77c5d94fd9c77eb3116c56976628bd9ae61c2c 100644 (file)
@@ -1710,7 +1710,8 @@ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
     }
 }
 
-/// 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).