From 5b200a6d3dbe63bb6cad153f3b9b7780530f0941 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Tue, 21 Feb 2023 18:20:25 +0800 Subject: [PATCH] Fix build. --- src/ast/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ast/ast.rs b/src/ast/ast.rs index 8a23d96e..84057e6a 100644 --- a/src/ast/ast.rs +++ b/src/ast/ast.rs @@ -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(),