Skip to content

Unbreak rustfmt in some places#6349

Merged
ErichDonGubler merged 4 commits intogfx-rs:trunkfrom
erichdongubler-mozilla:erichdongubler/push-sulunuyyxyop
Oct 3, 2024
Merged

Unbreak rustfmt in some places#6349
ErichDonGubler merged 4 commits intogfx-rs:trunkfrom
erichdongubler-mozilla:erichdongubler/push-sulunuyyxyop

Conversation

@ErichDonGubler
Copy link
Copy Markdown
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 a review from a team October 1, 2024 20:13
@ErichDonGubler ErichDonGubler requested a review from a team as a code owner October 1, 2024 20:13
@ErichDonGubler
Copy link
Copy Markdown
Member Author

@jimblandy: Approval plz?

@ErichDonGubler ErichDonGubler merged commit 6e528aa into gfx-rs:trunk Oct 3, 2024
@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