35

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?

Zizheng Tai
  • 6,170
  • 28
  • 79

1 Answers1

32

clippy itself runs cargo check.

Peter Hall
  • 53,120
  • 14
  • 139
  • 204
riginding
  • 532
  • 1
  • 6
  • 7