From cfb3de298e282d1372c8c56ebe0a24cfd30d86b4 Mon Sep 17 00:00:00 2001 From: CoCoSol007 Date: Wed, 14 Feb 2024 11:17:54 +0100 Subject: [PATCH] add no run to exemple --- crates/border-wars/src/hex.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/border-wars/src/hex.rs b/crates/border-wars/src/hex.rs index c7902ce..1761ab5 100644 --- a/crates/border-wars/src/hex.rs +++ b/crates/border-wars/src/hex.rs @@ -29,7 +29,7 @@ impl HexPosition { /// /// # Example /// - /// ``` + /// ```no_run /// use border_wars::hex::HexPosition; /// /// let a = HexPosition { q: 0, r: 0 }; @@ -62,7 +62,7 @@ impl HexPosition { /// /// # Example /// - /// ``` + /// ```no_run /// use border_wars::hex::HexPosition; /// /// let position = HexPosition { q: 0, r: 0 };