Rollup merge of #105521 - tshepang:keep-heading-separate, r=nagisa

separate heading from body
This commit is contained in:
Matthias Krüger 2022-12-11 23:36:46 +01:00 committed by GitHub
commit 6042f5bca7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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).