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

@@ -85,7 +85,7 @@ pub struct FuncInfoMetadata {
pub return_type: Identifier,
/// Comments.
#[cfg(feature = "metadata")]
pub comments: Box<[Identifier]>,
pub comments: Box<[SmartString]>,
}
/// A type containing a single registered function.