Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

Commit 847e592

Browse files
stepanchegfacebook-github-bot
authored andcommitted
Reformat more code to one import per line
Summary: `./test.py --rustfmt-only` does not reformat these (don't know why). This is preparation to reformat whole fbsource. ``` find fbcode/buck2 -name '*.rs' | xargs arc rustfmt --config group_imports=StdExternalCrate,imports_granularity=Item ``` Reviewed By: ndmitchell Differential Revision: D37524079 fbshipit-source-id: 1087335107e0f722d47abcced4056338d49b3d54
1 parent 037629e commit 847e592

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

linter_test/src/lib.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
#![plugin(gazebo_lint)]
1818
#![allow(unused)] // Unused because these are gazebo_lint test cases with no actual use
1919

20-
use std::{collections::HashSet, sync::Arc};
20+
use std::collections::HashSet;
21+
use std::sync::Arc;
2122

2223
use gazebo::prelude::*;
2324

@@ -362,7 +363,9 @@ mod impl_dupe_warm {
362363
}
363364

364365
mod should_warn {
365-
use anyhow::{Error, Result, *};
366+
use anyhow::Error;
367+
use anyhow::Result;
368+
use anyhow::*;
366369
}
367370

368371
fn uses_bail() -> anyhow::Result<()> {

0 commit comments

Comments
 (0)