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
9
9
10
10
- allow workspaces by having validate_manifest now use ` metadata --no-deps ` instead of deprecated ` read-manifest `
11
11
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.
13
13
14
14
## [ 0.10.0] - 2020-08-08
15
15
Original file line number Diff line number Diff line change @@ -188,6 +188,7 @@ impl<'a, B: Runnable> Runnable for &'a B {
188
188
/// output processing, output logging and sandboxing.
189
189
///
190
190
/// [std]: https://doc.rust-lang.org/std/process/struct.Command.html
191
+ #[ must_use = "call `.run()` to run the command" ]
191
192
pub struct Command < ' w , ' pl > {
192
193
workspace : Option < & ' w Workspace > ,
193
194
sandbox : Option < SandboxBuilder > ,
You can’t perform that action at this time.
0 commit comments