We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4921c37 commit 31f6accCopy full SHA for 31f6acc
library/std/src/process.rs
@@ -507,6 +507,7 @@ impl fmt::Debug for ChildStderr {
507
/// assert!(status.success());
508
/// ```
509
#[stable(feature = "process", since = "1.0.0")]
510
+#[must_use = "this Command does not do anything unless it is run, eg using `status` or `spawn`"]
511
pub struct Command {
512
inner: imp::Command,
513
}
0 commit comments