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

Remove merge_imports from rustfmt config as it is deprecated #1

Closed
wants to merge 1 commit into from
Closed

Remove merge_imports from rustfmt config as it is deprecated #1

wants to merge 1 commit into from

Commits on Jun 21, 2022

  1. Remove merge_imports from rustfmt config as it is deprecated

    Summary:
    Seeing a lot of warnings when running `cargo fmt`,
    ```
    Warning: the `merge_imports` option is deprecated. Use `imports_granularity="Crate"` instead
    ```
    
    [GitHub issue on the deprecation](rust-lang/rustfmt#3362 (comment))
    
    As we already have the imports_granularity="Item", it seems we can get rid of the deprecated option?
    
    Differential Revision: D37313506
    
    fbshipit-source-id: ef885107459d142a735aa39cc925179a0a6210d2
    themarwhal authored and facebook-github-bot committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    d91adc5 View commit details
    Browse the repository at this point in the history