Skip to content
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

Don't move trailing comments in let anymore #270

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

piegamesde
Copy link
Member

Split out from #269 to delay it until after the Nixpkgs treewide


While this was initially introduced for good reasons, as can also be seen in the diff, that code was written with documentation comments in mind and not code comments. As per the bug report, the downsides were deemed to high to keep it in

Fixes #259

While this was initially introduced for good reasons, as can also be
seen in the diff, that code was written with documentation comments in
mind and not code comments. As per the bug report, the downsides were
deemed to high to keep it in

Fixes NixOS#259
Copy link

github-actions bot commented Dec 3, 2024

Nixpkgs diff

Copy link
Member

@dasJ dasJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Result looks good, cannot judge the code though

@piegamesde piegamesde marked this pull request as ready for review January 7, 2025 21:01
@dasJ dasJ merged commit 8d4bd69 into NixOS:master Jan 7, 2025
2 checks passed
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/formatting-team-meeting-2024-12-10-and-2025-01-07/58466/1

@infinisil infinisil deleted the let-in-comments branch January 8, 2025 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Suggestion: commented out lines at the end of a let block should stay in the let block
4 participants