]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #6293 - Urcra:lint-example-fix, r=flip1995
authorbors <bors@rust-lang.org>
Sun, 8 Nov 2020 14:24:58 +0000 (14:24 +0000)
committerbors <bors@rust-lang.org>
Sun, 8 Nov 2020 14:24:58 +0000 (14:24 +0000)
Fix example used in cargo_common_metadata

The previous example used in `cargo_common_metadata`  included an authors field, even though the comment says it doesn't. And thus doesn't actually demonstrate an example of how the lint fails.

This removes that authors field from the _bad_ example and suggest to fix the _bad_ example by adding the authors field

changelog: Fix example used in `cargo_common_metadata`


Trivial merge