mirror of
https://github.com/Noratrieb/advent-of-code.git
synced 2026-01-14 09:35:01 +01:00
more part2 opts
This commit is contained in:
parent
d08e7d8c7c
commit
b7db57a568
7 changed files with 814 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
mod cmd;
|
||||
|
||||
use std::borrow::Cow;
|
||||
use std::{borrow::Cow, fmt::Debug};
|
||||
|
||||
use nom::{character::complete::digit1, combinator::map, IResult};
|
||||
|
||||
|
|
@ -25,6 +25,7 @@ pub struct Variants {
|
|||
pub variants: Vec<Variant>,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Variant {
|
||||
pub name: &'static str,
|
||||
pub f: Solution,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue