remove Temp
This commit is contained in:
parent
15f63125fa
commit
eb1a462782
@ -47,17 +47,6 @@ enum EvalTree<'a> {
|
|||||||
|
|
||||||
type Oet<'a> = Option<EvalTree<'a>>;
|
type Oet<'a> = Option<EvalTree<'a>>;
|
||||||
|
|
||||||
struct Temp;
|
|
||||||
|
|
||||||
impl Atom for Temp {
|
|
||||||
fn next<'t>(self: Box<Self>) -> Oet<'t>
|
|
||||||
where
|
|
||||||
Self: 't,
|
|
||||||
{
|
|
||||||
unreachable!()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl<'a> EvalTree<'a> {
|
impl<'a> EvalTree<'a> {
|
||||||
fn next_composite(mut self: Box<Self>, other: Box<Self>) -> Self {
|
fn next_composite(mut self: Box<Self>, other: Box<Self>) -> Self {
|
||||||
match *self {
|
match *self {
|
||||||
|
Loading…
Reference in New Issue
Block a user