Use SmartString for comments.

This commit is contained in:
Stephen Chung
2023-02-11 23:55:07 +08:00
parent dbac4d5689
commit 8685323b15
3 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ pub struct ScriptFnDef {
///
/// Each line in non-block doc-comments starts with `///`.
#[cfg(feature = "metadata")]
pub comments: Box<[crate::Identifier]>,
pub comments: Box<[crate::SmartString]>,
}
impl fmt::Display for ScriptFnDef {