From 1ddc1d637cdcfb0e9969481a5ce999efc038af74 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 29 Oct 2025 09:22:43 -0500 Subject: [PATCH] docs: Correct examples for `cargo_bin!` Fixes #249 --- src/macros.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/macros.rs b/src/macros.rs index 0afa8a5..bb41efd 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -49,7 +49,6 @@ macro_rules! crate_name { /// use std::process::Command; /// /// let mut cmd = Command::new(cargo_bin!()) -/// .unwrap(); /// let output = cmd.unwrap(); /// ``` #[macro_export] @@ -79,7 +78,6 @@ macro_rules! cargo_bin { /// use std::process::Command; /// /// let mut cmd = cargo_bin_cmd!() -/// .unwrap(); /// let output = cmd.unwrap(); /// ``` #[macro_export]