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 { Self {
source: None, source: None,
#[cfg(feature = "metadata")] #[cfg(feature = "metadata")]
doc: crate::SmartString::new_const(), doc: None,
body: (!stmt.is_empty()).then(|| stmt.into()), body: (!stmt.is_empty()).then(|| stmt.into()),
#[cfg(not(feature = "no_function"))] #[cfg(not(feature = "no_function"))]
lib: functions.into(), lib: functions.into(),