Process block comments better.

This commit is contained in:
Stephen Chung
2022-12-02 14:06:31 +08:00
parent eb5b15e954
commit e10576abff
4 changed files with 56 additions and 22 deletions

View File

@@ -44,6 +44,7 @@ Enhancements
* `Engine::set_XXX` API can now be chained.
* `EvalContext::scope_mut` now returns `&mut Scope` instead of `&mut &mut Scope`.
* Line-style doc-comments are now merged into a single string to avoid creating many strings. Block-style doc-comments continue to be independent strings.
* Block-style doc-comments are now "un-indented" for better formatting.
* Doc-comments on plugin modules are now captured in the module's `doc` field.