Skip to content

Somehow a different cargo fmt or format settings is used #36

@jaques-sam-tlv

Description

@jaques-sam-tlv

This is an annoying issue.
When running cargo fmt --all -- from the command line, it behaves sometimes differently than when the pre-commit runs:

diff --git a/api/build.rs b/api/build.rs
index 4877b84..f7e777e 100644
--- a/api/build.rs
+++ b/api/build.rs
@@ -1,4 +1,4 @@
-use codegen::{compare_openapi_spec, SpecStatus};
+use codegen::{SpecStatus, compare_openapi_spec};

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