-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
strange condition and debug statement #37
Labels
question
Further information is requested
Comments
It's for the rare case that the file is formatted, and you run the formatter anyways.
if we check and did no change at all. |
oooooh i get it, thanks for the clarification 😋 maybe |
That sounds great! |
amtoine
added a commit
that referenced
this issue
Jun 27, 2023
should close #37 by making the debug message clearer > File is already formatted correctly. > instead of > File is formatted correctly. cc/ @AucaCoyan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@AucaCoyan
i'm a bit confused about that part of
format_single_file
, why do we want the code before and after to be equal? 😮nufmt/src/lib.rs
Lines 21 to 23 in 1765f8e
and followup question, why don't we have a similar test and debug statement in
format_string
?The text was updated successfully, but these errors were encountered: