diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-12-11 23:36:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-11 23:36:46 +0100 |
| commit | 6042f5bca76f581c2572d3f36d1b2caa23d2c953 (patch) | |
| tree | e070b171321dbe6f2bf3505644ac06a0375f58d2 | |
| parent | 6ed8cb6616694244efebd84f70c4e8b41eab6bbf (diff) | |
| parent | 6a4394637052a9536ff994faed88ee95e8172fe1 (diff) | |
| download | rust-6042f5bca76f581c2572d3f36d1b2caa23d2c953.tar.gz rust-6042f5bca76f581c2572d3f36d1b2caa23d2c953.zip | |
Rollup merge of #105521 - tshepang:keep-heading-separate, r=nagisa
separate heading from body
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index d0fe598ce08..85d416c43f9 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). |
