Skip to content

Commit 8225be5

Browse files
committed
fix: move inline use to module scope (clippy items_after_statements)
1 parent 2b6a005 commit 8225be5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

crates/hm/tests/runner_dispatch.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ pub mod common;
3636

3737
use std::collections::BTreeMap;
3838

39+
use daggy::petgraph::visit::IntoNodeReferences;
40+
3941
use common::fixtures;
4042
use harmont_cli::orchestrator::graph::Graph;
4143
use harmont_cli::plugin::{PluginRegistry, RegistryConfig};
@@ -88,7 +90,6 @@ async fn runner_field_dispatches_to_named_plugin() {
8890
// Sanity check: the graph must preserve `runner` from the IR.
8991
// This is the cheap fast-fail; the dispatch check below is the
9092
// load-bearing one.
91-
use daggy::petgraph::visit::IntoNodeReferences;
9293
let (_, first_transition) = graph.dag().graph().node_references()
9394
.find(|(_, t)| t.step.key == "fs-step")
9495
.unwrap();

0 commit comments

Comments
 (0)