extract match_exp

This commit is contained in:
🪞👃🪞 2025-01-07 21:48:58 +01:00
parent 9a70fbc416
commit 3975837393
3 changed files with 56 additions and 48 deletions

View file

@ -50,7 +50,7 @@ impl EdnItem<&str> {
}
}
}
impl<T: AsRef<str> + PartialEq + Default + Clone + std::fmt::Debug> EdnItem<T> {
impl<T: AsRef<str>> EdnItem<T> {
pub fn to_ref (&self) -> EdnItem<&str> {
match self {
Self::Nil => EdnItem::Nil,