Fix sync feature.

This commit is contained in:
Stephen Chung 2022-09-10 13:46:14 +08:00
parent 75fbb609dd
commit ec45224120

View File

@ -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 {