Skip to content

Conversation

@micahhausler
Copy link
Member

Description of changes

Fix Clippy warnings

Issue #, if available

N/A

Checklist for requesting a review

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

  • A change "invisible" to users (e.g., documentation, changes to "internal" crates like cedar-policy-core, cedar-validator, etc.)

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

  • Does not update the CHANGELOG because my change does not significantly impact released code.

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

  • Does not require updates because my change does not impact the Cedar formal model or DRT infrastructure.

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

  • Does not require updates because my change does not impact the Cedar language specification.

Signed-off-by: Micah Hausler <mhausler@amazon.com>
#[cfg(feature = "wasm")]
extern crate tsify;

#[expect(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC this lint showed up in CI but not locally so we kept the expect. Never bothered to figure out why, but it might still be there in CI

@micahhausler
Copy link
Member Author

Ah, I thought clippy was failing on warnings, I had a clippy error in my other PR. I can close this as not necessary

@john-h-kastner-aws
Copy link
Contributor

Ah, I thought clippy was failing on warnings, I had a clippy error in my other PR. I can close this as not necessary

If it did fail, there are a handful of lints we do treat as errors.

@github-actions
Copy link

Coverage Report

Head Commit: 902fcddfa432beba9f0fe86d40ccd897f25dbf3c

Base Commit: b48d6f906e165c119e9aece67b0706abd01fdde1

Download the full coverage report.

Coverage of Added or Modified Lines of Rust Code

Required coverage: 80.00%

Actual coverage: 100.00%

Status: PASSED ✅

Details
File Status Covered Coverage Missed Lines
cedar-policy-symcc/src/symcc/extractor.rs 🟢 1/1 100.00%
cedar-policy-symcc/src/symccopt/compiler.rs 🟢 2/2 100.00%
cedar-policy/src/ffi/format.rs 🟢 7/7 100.00%

Coverage of All Lines of Rust Code

Required coverage: 80.00%

Actual coverage: 86.23%

Status: PASSED ✅

Details
Package Status Covered Coverage Base Coverage
cedar-language-server 🟢 4719/5100 92.53% 92.54%
cedar-policy 🟡 3780/5153 73.36% 73.33%
cedar-policy-cli 🔴 773/1185 65.23% 65.23%
cedar-policy-core 🟢 22025/25296 87.07% 87.07%
cedar-policy-formatter 🟢 906/1080 83.89% 83.89%
cedar-policy-symcc 🟢 6400/6927 92.39% 92.39%
cedar-wasm 🔴 0/28 0.00% 0.00%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants