mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
extract match_exp
This commit is contained in:
parent
9a70fbc416
commit
3975837393
3 changed files with 56 additions and 48 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue