cedar-policy / cedar

Implementation of the Cedar Policy Language
https://www.cedarpolicy.com
Apache License 2.0
889 stars 80 forks source link

Fix long first paragraphs in docs and deny clippy warning #1281

Closed john-h-kastner-aws closed 1 month ago

john-h-kastner-aws commented 1 month ago

Description of changes

Applies a new clippy suggestion for nicer docs and adds this new lint to our list deny lints.

See https://rust-lang.github.io/rust-clippy/rust-1.82.0/index.html#/too_long_first_doc_paragraph

Issue #, if available

Checklist for requesting a review

The change in this PR is (choose one, and delete the other options):

I confirm that this PR (choose one, and delete the other options):

I confirm that cedar-spec (choose one, and delete the other options):

I confirm that docs.cedarpolicy.com (choose one, and delete the other options):