Skip to content

Commit

Permalink
Fix up some unnecessary imports
Browse files Browse the repository at this point in the history
Summary: These are covered by the `use super::*`. No big deal to duplicate, but might as well clean them up.

Differential Revision: D58407198

fbshipit-source-id: df2f271af8ea874b16d22ee8e335536c606e8c8d
  • Loading branch information
ndmitchell authored and facebook-github-bot committed Jun 11, 2024
1 parent 3234ea4 commit 0c2a6e3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions btd/src/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,8 @@ mod tests {

use super::*;
use crate::buck::targets::BuckError;
use crate::buck::targets::BuckTarget;
use crate::buck::targets::TargetsEntry;
use crate::buck::types::CellPath;
use crate::buck::types::Package;
use crate::buck::types::TargetName;
use crate::diff::RootImpactKind;
use crate::sapling::status::Status;
Expand Down
3 changes: 0 additions & 3 deletions btd/src/diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,11 +430,8 @@ mod tests {
use crate::buck::labels::Labels;
use crate::buck::targets::BuckImport;
use crate::buck::targets::TargetsEntry;
use crate::buck::types::Package;
use crate::buck::types::PackageValues;
use crate::buck::types::TargetHash;
use crate::buck::types::TargetLabel;
use crate::buck::types::TargetName;
use crate::buck::types::TargetPattern;
use crate::sapling::status::Status;

Expand Down
1 change: 0 additions & 1 deletion btd/src/graph_size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ impl GraphSize {
mod tests {
use super::*;
use crate::buck::targets::TargetsEntry;
use crate::buck::types::TargetLabel;

fn mk_label(x: &str) -> TargetLabel {
TargetLabel::new(&format!("none//:{x}"))
Expand Down
1 change: 0 additions & 1 deletion btd/src/output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ mod tests {

use super::*;
use crate::buck::types::CellPath;
use crate::buck::types::Oncall;
use crate::buck::types::PackageValues;
use crate::buck::types::TargetHash;
use crate::diff::RootImpactKind;
Expand Down

0 comments on commit 0c2a6e3

Please sign in to comment.