diff --git a/src/ast/mod.rs b/src/ast/mod.rs index 4a22de90..32a84497 100644 --- a/src/ast/mod.rs +++ b/src/ast/mod.rs @@ -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 = ();