You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an existing issue or pull request for this?
I have searched the existing issues and pull requests
Feature description
Not really a feature.
working with cargo nightly for cargo fmt is painful :(
Please, consider switching to stable to make the experience of contributors a bit better.
Desired solution
Remove rust-toolchain.toml file
Run cargo fmt
Downside: all opened PRs will have merge conflicts probably because stable uses spaces instead of tabs. So it's better to do this when there aren't big PRs opened.
Alternatives considered
The alternative is keeping the current configuration I guess.
Downside: all opened PRs will have merge conflicts probably because stable uses spaces instead of tabs.
Merge conflicts for this (and other similar cases where deterministic tooling is used to restyle code) by applying the new formatting rules at the end of the PR/branch before attempting to merge. Optionally this can be later squashed in with the merge commit itself so that the merge diff only shows what the PR brought to the table after all the formatting matched on both sides. If a rebase is preferred this can be done by applying formatting on each commit in the branch in reverse order (branch HEAD first, then working backwards).
Is there an existing issue or pull request for this?
Feature description
Not really a feature.
working with cargo nightly for cargo fmt is painful :(
Please, consider switching to stable to make the experience of contributors a bit better.
Desired solution
Downside: all opened PRs will have merge conflicts probably because stable uses spaces instead of tabs. So it's better to do this when there aren't big PRs opened.
Alternatives considered
The alternative is keeping the current configuration I guess.
Additional context
feedback coming from #613 (comment)
The text was updated successfully, but these errors were encountered: