Rollup merge of #79351 - Takashiidobe:keyword-docs-typo, r=m-ou-se

Fix typo in `keyword` docs for traits

This PR fixes a small typo in the `keyword_docs.rs` file, describing the differences between the 2015 and 2018 editions of traits.
This commit is contained in:
Jonas Schievink 2020-11-24 13:17:43 +01:00 committed by GitHub
commit ed5d539c62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1739,7 +1739,7 @@ mod super_keyword {}
/// ///
/// # Differences between the 2015 and 2018 editions /// # Differences between the 2015 and 2018 editions
/// ///
/// In the 2015 edition parameters pattern where not needed for traits: /// In the 2015 edition the parameters pattern was not needed for traits:
/// ///
/// ```rust,edition2015 /// ```rust,edition2015
/// trait Tr { /// trait Tr {