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

Construct const fns based on the type, not the definition. #5215

Closed
wants to merge 3 commits into from

Conversation

jld
Copy link
Contributor

@jld jld commented Mar 4, 2013

Fixes #5210; unblocks #5183.

bors added a commit that referenced this pull request Mar 5, 2013
@bors bors closed this Mar 5, 2013
jhpratt pushed a commit to jhpratt/rust that referenced this pull request Apr 20, 2022
…ust-lang#5217)

* fix(rustfmt): fix struct field formatting with doc comments present

Fixes rust-lang#5215

* fix review feedbacks

* add unit test without doc comment

* move tests to a seperate file

* add additional test cases

* reintroduce a newline at the of test/souce/structs.rs
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.

3 participants