use super::problem::Problem;
use core::fmt::{
Display,
Formatter,
Result as Format
};
pub enum Item {
Problem(Problem),
String(String)
}
impl Display for Item {
#[inline]
fn fmt(&self, f: &mut Formatter<'_>) -> Format {match self {
Item::Problem(problem) => Display::fmt(problem, f),
Item::String(string) => Display::fmt(string, f),
}}
}