style: fix pre-existing cargo fmt violations#167
Closed
daniilrrr wants to merge 1 commit into
Closed
Conversation
r-n-o
approved these changes
Jun 17, 2026
Contributor
Author
|
folding this into #168 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The checked-in code on
maindoes not satisfycargo fmt -- --checkwhen run under the repo's pinned toolchain (1.88, perrust-toolchain.toml) — i.e. whatmake lintuses locally. This PR applies the formatting that pinned-1.88 rustfmt wants.Formatting changes ONLY — no logic changes.
Files reformatted
tvc/src/client.rs— import ordering:use turnkey_client::generated::GetTvcAppRequest;now sorts beforeuse turnkey_client::generated::external::data::v1::TvcApp;tvc/src/commands/display.rs—yes_nocollapsed to the edition-2024 short-if style:if value { "yes" } else { "no" }Verification
main(5b6c776):cargo fmt -- --checkexits 1 under pinned 1.88 (rustfmt 1.8.0-stable,cargo 1.88.0), flagging the two files above.cargo fmt -- --checkexits0under pinned 1.88.git diff main --statshows only these two files (3 insertions, 7 deletions) — pure whitespace/import-ordering/short-if churn.client/src/generated/were touched.This is fmt-only and intentionally does not touch the clippy lint / AGENTS.md work from PR #166 or the CI-pin in #168. See #168 for which commit introduced the drift and the toolchain root cause.