Skip to content

Enable Rustfmt & Clippy for cg_gcc #457

Closed
@tempdragon

Description

@tempdragon

It takes a long time to manually adjust the code format and style, so I advice to enable the Rustfmt for this project to avoid potential bad styling.
As for clippy, it may be a good idea to reduce the poorly behaved code in Rust to improve code quality.

### Tasks
- [x] Modify the `.rustfmt.toml` and Update the Format with it
- [x] Clean Up the Errors as Is Warned by Clippy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions