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

Unbreak rustfmt in some places #6349

Conversation

ErichDonGubler
Copy link
Member

@ErichDonGubler ErichDonGubler commented Oct 1, 2024

Connections

Discovered during #6148.

Description

Hunks of Rust source from #6316 and prior have some lines with string literals that are so long that rustfmt refuses to reformat both the literal and surrounding runs of expressions. Fix this, and keep chugging with delicious rustfmt'd code.

Testing

Still green in CI, still good!

Checklist

  • Run cargo fmt.
  • Run cargo clippy. If applicable, add:
    • --target wasm32-unknown-unknown
    • --target wasm32-unknown-emscripten
  • Run cargo xtask test to run tests.
  • Add change to CHANGELOG.md. See simple instructions inside file. Definitely not necessary.

@ErichDonGubler ErichDonGubler added the kind: refactor Making existing function faster or nicer label Oct 1, 2024
@ErichDonGubler ErichDonGubler self-assigned this Oct 1, 2024
@ErichDonGubler ErichDonGubler force-pushed the erichdongubler/push-sulunuyyxyop branch from 7dd8176 to 965dc6c Compare October 1, 2024 19:43
@ErichDonGubler ErichDonGubler changed the title Unbreak rustfmt on too-long lines Unbreak rustfmt in some places Oct 1, 2024
@ErichDonGubler ErichDonGubler force-pushed the erichdongubler/push-sulunuyyxyop branch 2 times, most recently from 07060f6 to a6ae1a1 Compare October 1, 2024 20:01
@ErichDonGubler ErichDonGubler marked this pull request as ready for review October 1, 2024 20:13
@ErichDonGubler ErichDonGubler requested review from a team as code owners October 1, 2024 20:13
@ErichDonGubler
Copy link
Member Author

@jimblandy: Approval plz?

@ErichDonGubler ErichDonGubler merged commit 6e528aa into gfx-rs:trunk Oct 3, 2024
27 checks passed
@ErichDonGubler ErichDonGubler deleted the erichdongubler/push-sulunuyyxyop branch October 3, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: refactor Making existing function faster or nicer
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants