Skip to content

Added config options for formatting multiple imports #1288

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

Closed
wants to merge 1 commit into from

Conversation

rbtying
Copy link

@rbtying rbtying commented Jan 26, 2017

This enables rustfmt to format

use a::{
    b,
    c,
}

or

use a::{b,c}

as desired.

This enables rustfmt to format

use a::{
    b,
    c,
}

or

use a::{b,c}

as desired
@jimmycuadra
Copy link

Is this PR necessary to prevent rustfmt from turning this:

use rusoto_ecr::{
    DescribeImagesRequest,
    DescribeRepositoriesRequest,
    Ecr,
    EcrClient,
    ImageDetailList,
    RepositoryList,
};

into this?

use rusoto_ecr::{DescribeImagesRequest, DescribeRepositoriesRequest, Ecr, EcrClient,
                 ImageDetailList, RepositoryList};

If so, could someone please review and merge this?

@nrc
Copy link
Member

nrc commented Jul 12, 2017

I'm not sure how this missed a review, very sorry @rbtying . I think this is probably subsumed by #1760 and/or #1785

@nrc nrc closed this Jul 12, 2017
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