Fix infinite loop
This commit is contained in:
parent
74d637f511
commit
e7ef5913f1
@ -412,7 +412,7 @@ where
|
|||||||
{
|
{
|
||||||
fn from(x: &'a Box<T>) -> Self {
|
fn from(x: &'a Box<T>) -> Self {
|
||||||
let mut ret = Vec::new();
|
let mut ret = Vec::new();
|
||||||
let mut x: RefNodes<'a> = x.into();
|
let mut x: RefNodes<'a> = (&**x).into();
|
||||||
ret.append(&mut x.0);
|
ret.append(&mut x.0);
|
||||||
ret.into()
|
ret.into()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user