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

Preserve struct field pattern shorthand in the prettyprinter. #18362

Merged
merged 1 commit into from
Oct 28, 2014

Commits on Oct 27, 2014

  1. Preserve struct field pattern shorthand in the prettyprinter.

    Use the `is_shorthand` field introduced by rust-lang#17813 (ead6c4b) to make the
    prettyprinter output the shorthand form. Fixes a few places that set
    `is_shorthand: true` when the pattern is not a PatIdent with the same
    name as the field.
    kevinmehall committed Oct 27, 2014
    Configuration menu
    Copy the full SHA
    e5f7090 View commit details
    Browse the repository at this point in the history