diff options
Diffstat (limited to 'src/eval/library.rs')
| -rw-r--r-- | src/eval/library.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval/library.rs b/src/eval/library.rs index adfcc6e7..75787348 100644 --- a/src/eval/library.rs +++ b/src/eval/library.rs @@ -44,7 +44,7 @@ pub struct LangItems { /// The id of the text node. pub text_id: NodeId, /// Get the string if this is a text node. - pub text_str: fn(&Content) -> Option<&str>, + pub text_str: fn(&Content) -> Option<EcoString>, /// A smart quote: `'` or `"`. pub smart_quote: fn(double: bool) -> Content, /// A paragraph break. |
