Closed sunng87 closed 8 months ago
[!IMPORTANT]
Auto Review Skipped
Auto reviews are limited to the following labels: pr. Please add one of these labels to enable auto reviews.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository.To trigger a single review, invoke the
@coderabbitai review
command.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
The recent nightly of clippy just introduced a new lint called
empty_doc
for checking empty doc string.The code generated from
pest_generator
is always including a doc string even if it's empty. So we get this lint error onderive
line: https://github.com/sunng87/handlebars-rust/actions/runs/8130508982/job/22218782435#step:4:133This patch fixes this by skipping
#doc
when it's empty.