Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

29
tldr/cargo-check Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# cargo check
> Check a local package and all of its dependencies for errors.
> More information: <https://doc.rust-lang.org/cargo/commands/cargo-check.html>.
- Check the current package:
`cargo check`
- Check all tests:
`cargo check --tests`
- Check the integration tests in `tests/integration_test1.rs`:
`cargo check --test {{integration_test1}}`
- Check the current package with the features `feature1` and `feature2`:
`cargo check --features {{feature1,feature2}}`
- Check the current package with default features disabled:
`cargo check --no-default-features`