yuankunzhang / charming

A visualization library for Rust
Apache License 2.0
1.85k stars 73 forks source link

Fix clippy warnings #108

Closed LukaOber closed 1 month ago

LukaOber commented 1 month ago

Fixes the warnings from clippy. Will result in GitHub Actions passing again.

The first commit fixes the current warnings and the second fixes the upcoming warnings from nightly.

I opted to ignore the warning regarding the large enum size difference. An approach using Box would maybe be better, but I am not sure, and this would also be a breaking change (I think). I might take another look at it, but I wanted to fix the GitHub Action for now.