Fix build.

This commit is contained in:
Stephen Chung 2023-02-21 18:20:25 +08:00
parent 14e205cabc
commit 5b200a6d3d

View File

@ -87,7 +87,7 @@ impl AST {
Self {
source: None,
#[cfg(feature = "metadata")]
doc: crate::SmartString::new_const(),
doc: None,
body: (!stmt.is_empty()).then(|| stmt.into()),
#[cfg(not(feature = "no_function"))]
lib: functions.into(),