Rollup merge of #85520 - FabianWolff:issue-85475, r=jackh726

Fix typo and improve documentation for E0632

Edit: After https://github.com/rust-lang/rust/pull/85520#issuecomment-870095546, this PR has been boiled down to just an extended description for `E0632` and a fixed typo.
This commit is contained in:
Yuki Okushi 2021-07-01 05:20:55 +09:00 committed by GitHub
commit 1823b3f2b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 32 additions and 3 deletions

View file

@ -1084,7 +1084,7 @@ declare_lint! {
///
/// ### Explanation
///
/// An function with generics must have its symbol mangled to accommodate
/// A function with generics must have its symbol mangled to accommodate
/// the generic parameter. The [`no_mangle` attribute] has no effect in
/// this situation, and should be removed.
///