File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
1010- allow workspaces by having validate_manifest now use ` metadata --no-deps ` instead of deprecated ` read-manifest `
1111 therefor no longer failing on workspaces and TomlTweaker no longer removing the workspace table from ` Cargo.toml `
12-
12+ - ` Command ` now warns when it is not used.
1313
1414## [ 0.10.0] - 2020-08-08
1515
Original file line number Diff line number Diff line change @@ -188,6 +188,7 @@ impl<'a, B: Runnable> Runnable for &'a B {
188188/// output processing, output logging and sandboxing.
189189///
190190/// [std]: https://doc.rust-lang.org/std/process/struct.Command.html
191+ #[ must_use = "call `.run()` to run the command" ]
191192pub struct Command < ' w , ' pl > {
192193 workspace : Option < & ' w Workspace > ,
193194 sandbox : Option < SandboxBuilder > ,
You can’t perform that action at this time.
0 commit comments