Rollup merge of #72169 - GuillaumeGomez:cleanup-e0582, r=Dylan-DPC

Clean up E0582 explanation

r? @Dylan-DPC
This commit is contained in:
Ralf Jung 2020-05-14 10:23:05 +02:00 committed by GitHub
commit 864eae7c48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
A lifetime appears only in an associated-type binding,
and not in the input types to the trait.
A lifetime is only present in an associated-type binding, and not in the input
types to the trait.
Erroneous code example: