mlir-rs / melior

The rustic MLIR bindings in Rust
https://mlir-rs.github.io/melior/melior/
Apache License 2.0
332 stars 39 forks source link

Cleanup aided by clippy #619

Closed edg-l closed 2 days ago

edg-l commented 2 days ago

Should fix the new lint ci errors due to rust 1.83.0 new clippy lints

On rust 1.83.0 with clippy cargo clippy -- -D clippy::nursery -A clippy::use_self

There are some more places where i could add const (in mut self places) but thats from 1.83.0 itself and i dont know if you are ok with setting the MSRV to it, so i didnt add those.

raviqqe commented 2 days ago

Thank you for the changes!