aoc_lib/
input_type.rs

1use std::fmt::{Display, Formatter};
2
3pub enum InputType {
4    Test,
5    Real,
6}
7
8impl Display for InputType {
9    fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
10        f.write_str(match self {
11            InputType::Test => "test",
12            InputType::Real => "real",
13        })
14    }
15}