Skip to content

Commit a4acb31

Browse files
committed
Fix example for cargo common data
1 parent 62c0d29 commit a4acb31

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

clippy_lints/src/cargo_common_metadata.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,21 @@ declare_clippy_lint! {
2323
/// [package]
2424
/// name = "clippy"
2525
/// version = "0.0.212"
26+
/// description = "A bunch of helpful lints to avoid common pitfalls in Rust"
27+
/// repository = "https://github.com/rust-lang/rust-clippy"
28+
/// readme = "README.md"
29+
/// license = "MIT OR Apache-2.0"
30+
/// keywords = ["clippy", "lint", "plugin"]
31+
/// categories = ["development-tools", "development-tools::cargo-plugins"]
32+
/// ```
33+
///
34+
/// Should include an authors field like:
35+
///
36+
/// ```toml
37+
/// # This `Cargo.toml` includes all common metadata
38+
/// [package]
39+
/// name = "clippy"
40+
/// version = "0.0.212"
2641
/// authors = ["Someone <someone@rust-lang.org>"]
2742
/// description = "A bunch of helpful lints to avoid common pitfalls in Rust"
2843
/// repository = "https://github.com/rust-lang/rust-clippy"

0 commit comments

Comments
 (0)