Created
July 1, 2021 01:20
-
-
Save MingweiSamuel/3d6542a8dde4546a19d98b392237514b to your computer and use it in GitHub Desktop.
Revisions
-
MingweiSamuel created this gist
Jul 1, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ macro_rules! arr { ( $( #[$attr:meta] )* $v:vis $id:ident $name:ident: [$ty:ty; _] = $value:expr ) => { $( #[$attr] )* $v $id $name: [$ty; $value.len()] = $value; } }