From 476332c7aa9d54ef1748e908a82050b56bd8c950 Mon Sep 17 00:00:00 2001 From: YK Date: Tue, 19 Nov 2024 21:11:17 +0300 Subject: [PATCH] feat: new utils --- src/utils.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/utils.rs b/src/utils.rs index 60326cf..294447c 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -3,3 +3,9 @@ pub macro inc { include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/in/", $d, ".txt")) } } + +pub macro s { + ($s: literal) => { + format!("{}", $s) + } +}