diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/lib.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/src/lib.rs b/core/src/lib.rs new file mode 100644 index 0000000..343623c --- /dev/null +++ b/core/src/lib.rs @@ -0,0 +1,9 @@ +// Copyright 2022-2024 Gabriel Bjørnager Jensen. + +#[macro_export] +macro_rules! use_mod { + ($vis:vis $name:ident) => { + mod $name; + use $name::*; + }; +} |