Options (1)
-r, --releasebooleanRemove release artifacts (the `target/release` directory)
Example:
cargo clean {{[-r|--release]}}Examples (4)
Remove the entire `target` directory
Remove documentation artifacts (the `target/doc` directory)
cargo clean --docRemove release artifacts (the `target/release` directory)
cargo clean [-r|--release]Remove artifacts in the directory of the given profile (in this case, `target/debug`)
cargo clean --profile devmade by @shridhargupta | data from tldr-pages