mirror of
https://github.com/Noratrieb/advent-of-code.git
synced 2026-01-14 17:45:02 +01:00
thats it
This commit is contained in:
parent
1b194e4f1c
commit
9b527751a1
2 changed files with 69 additions and 20 deletions
|
|
@ -97,7 +97,7 @@ macro_rules! construct_variants {
|
|||
( $day:ty; $( ($name:ident, $func:expr, [ $($_:tt)* ]) ),*) => {
|
||||
$crate::Variants {
|
||||
variants: vec![$(
|
||||
$crate::Variant::new(stringify!($name), $func)
|
||||
$crate::Variant::new(stringify!($name), std::hint::black_box($func))
|
||||
),*]
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue