Zizheng Tai
Zizheng Tai

Reputation: 6626

Is `cargo clippy` a superset of `cargo check`?

I'm trying to build and test my Rust code with a CI, and I'm wondering whether cargo clippy (potentially with options) covers everything that cargo check does. Do I only need to run cargo clippy, or do I need to run both?

Upvotes: 42

Views: 8972

Answers (1)

riginding
riginding

Reputation: 622

clippy itself runs cargo check.

Upvotes: 41

Related Questions