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

[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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant