-
Notifications
You must be signed in to change notification settings - Fork 868
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
README // Add formatting policy. #3680
base: master
Are you sure you want to change the base?
Conversation
c48054d
to
509e39f
Compare
Force-pushed in order to remove contents of PR#3619. |
It may be better to add this section in |
Then it needs more discussion since this |
This should go to Besides, the maintainers guide in contributing do mention that maintainer (me) must ensure formatting and help out, which I offer in case you don't want to do something. |
I moved them to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes should go after ### Submitting your work
in CONTRIBUTING.md
.
Co-Authored-By: Kirill Chibisov <contact@kchibisov.com>
ef152ce
to
0c81d65
Compare
Co-Authored-By: Kirill Chibisov <contact@kchibisov.com>
Co-Authored-By: Kirill Chibisov <contact@kchibisov.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fine by me, could add 80
chars limit note I've said, but I won't block on it or can send myself.
I am afraid that the fastest approach is to let you handle it. This saves time from reviewing. |
Sure, done. I'll handle the rest of the review then as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am fine with this both with and without my nits, thanks!
Co-authored-by: Mads Marquart <mads@marquart.dk>
Report: CI failed in Amend Report: All nightly CI tests failed, requiring assistance. |
I've opened #3682 for that |
Winit relies on nightly `rustfmt`. A PR will usually not get reviewed if the | ||
nightly `cargo-fmt` check did not pass. If you have `rustup` installed you can | ||
install the nightly toolchain using `rustup toolchain install nightly`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Winit relies on nightly `rustfmt`. A PR will usually not get reviewed if the | |
nightly `cargo-fmt` check did not pass. If you have `rustup` installed you can | |
install the nightly toolchain using `rustup toolchain install nightly`. | |
Winit relies on nightly `rustfmt`. If you have `rustup` installed you can | |
install the nightly toolchain using `rustup toolchain install nightly`. |
I don't believe this is necessary.
If you feel uncomfortable using a `nightly` toolchain, ensure that CI passes | ||
with the exception of formatting, and ask the maintainers on your PR to format | ||
the code before merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't want to encode this into a kind of rule, I think we are capable enough to make judgements like this individually.
I'm also not sure why anybody would be "uncomfortable" using a nightly toolchain, considering its just for formatting. Installing the nightly toolchain does not force you to use or ship compiled binaries with nightly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm afraid that survivalship bias does not always work, sir.
Co-authored-by: daxpedda <daxpedda@gmail.com>
changelog
module if knowledge of this change could be valuable to users