Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

[wgsl-in] Break up long string, reformat rest of file. #2057

Merged
merged 1 commit into from
Sep 15, 2022

Conversation

jimblandy
Copy link
Member

Whitespace and formatting changes only.

It turns out that if cargo fmt comes across a single line it can't make fit within the margins, then it sort of gives up on the surrounding construct. So breaking up the error message for Error::UnknownScalarType in Error::as_parse_error and then re-running cargo fmt cleans up lots of other stuff in the file.

cargo fmt issue:
rust-lang/rustfmt#3863

Whitespace and formatting changes only.

It turns out that if `cargo fmt` comes across a single line it can't
make fit within the margins, then it sort of gives up on the
surrounding construct. So breaking up the error message for
`Error::UnknownScalarType` in `Error::as_parse_error` and then
re-running `cargo fmt` cleans up lots of other stuff in the file.

cargo fmt issue:
rust-lang/rustfmt#3863
@jimblandy jimblandy enabled auto-merge (squash) September 15, 2022 19:02
@jimblandy
Copy link
Member Author

merging without review, since it's only whitespace/formatting changes

@jimblandy jimblandy merged commit 3339238 into gfx-rs:master Sep 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant