Fix sync feature.
This commit is contained in:
parent
75fbb609dd
commit
ec45224120
@ -378,10 +378,8 @@ fn test_closures_external() -> Result<(), Box<EvalAltResult>> {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(not(feature = "no_closure"))]
|
#[cfg(not(feature = "no_closure"))]
|
||||||
|
#[cfg(not(feature = "sync"))]
|
||||||
fn test_closures_callback() -> Result<(), Box<EvalAltResult>> {
|
fn test_closures_callback() -> Result<(), Box<EvalAltResult>> {
|
||||||
use std::cell::RefCell;
|
|
||||||
use std::rc::Rc;
|
|
||||||
|
|
||||||
type SingleNode = Rc<dyn Node>;
|
type SingleNode = Rc<dyn Node>;
|
||||||
|
|
||||||
trait Node {
|
trait Node {
|
||||||
|
Loading…
Reference in New Issue
Block a user