aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-02-09 02:28:11 +0000
committerFuwn <[email protected]>2025-06-09 07:46:08 +0000
commit25579cc308c71a884825e9787a61472863caad6d (patch)
treefcd72e9c56297b145982f4e481dc64dc5b691427
parentdoc(divina_util): document macro (diff)
downloaddivina-25579cc308c71a884825e9787a61472863caad6d.tar.xz
divina-25579cc308c71a884825e9787a61472863caad6d.zip
doc(divina_util): more macro documentation
-rw-r--r--crates/divina_util/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/divina_util/src/lib.rs b/crates/divina_util/src/lib.rs
index 3dc081c..ff84778 100644
--- a/crates/divina_util/src/lib.rs
+++ b/crates/divina_util/src/lib.rs
@@ -17,6 +17,8 @@
)]
/// https://stackoverflow.com/a/32289869/14452787
+///
+/// and some help from <https://dev.to/rogertorres/first-steps-with-rust-declarative-macros-1f8m>
#[macro_export]
macro_rules! exit_with {
($exit_code:expr) => {