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.
cargo_bin!
1 parent ef752de commit 89c69c6Copy full SHA for 89c69c6
src/macros.rs
@@ -48,8 +48,7 @@ macro_rules! crate_name {
48
///
49
/// use std::process::Command;
50
51
-/// let mut cmd = Command::new(cargo_bin!())
52
-/// .unwrap();
+/// let cmd = Command::new(cargo_bin!())
53
/// let output = cmd.unwrap();
54
/// ```
55
#[macro_export]
@@ -78,8 +77,7 @@ macro_rules! cargo_bin {
78
77
79
80
81
-/// let mut cmd = cargo_bin_cmd!()
82
+/// let cmd = cargo_bin_cmd!()
83
84
85
0 commit comments