Skip to content

[Refactor]: Fix Clippy warnings (uninlined_format_args & more) #29

@jalalvandi

Description

@jalalvandi

What needs refactoring?

There are currently several Clippy warnings being ignored in CI, specifically related to clippy::uninlined_format_args.

Why should this be refactored?

for better performance and code style

How could it be improved?

We should:

  • Replace format!("{:02}", x) style with format!("{x:02}")
  • Replace write!(f, "{}", var) with write!(f, "{var}"), etc.
  • Review other Clippy suggestions while we're at it
  • Re-enable -D warnings in CI

This was temporarily disabled in #XYZ for faster iteration, but we should clean it up before next release.

Code of Conduct

  • I agree to follow the Code of Conduct

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