Fix no_function.

This commit is contained in:
Stephen Chung 2022-06-05 19:35:18 +08:00
parent 6ebe002b18
commit 6467b52761

View File

@ -27,5 +27,7 @@ pub use stmt::{
#[cfg(not(feature = "no_float"))]
pub use expr::FloatWrapper;
/// _(internals)_ Placeholder for a script-defined function.
/// Exported under the `internals` feature only.
#[cfg(feature = "no_function")]
pub struct ScriptFnDef;
pub type ScriptFnDef = ();