Skip to content

Commit 2025924

Browse files
committed
fix fmt
1 parent 1be7577 commit 2025924

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

graphql/src/runner.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ use graph::{
2121
data::query::{QueryResults, QueryTarget},
2222
prelude::QueryStore,
2323
};
24-
use graphql_tools::validation::rules::{LoneAnonymousOperation, FragmentsOnCompositeTypes, OverlappingFieldsCanBeMerged};
24+
use graphql_tools::validation::rules::{
25+
FragmentsOnCompositeTypes, LoneAnonymousOperation, OverlappingFieldsCanBeMerged,
26+
};
2527
use graphql_tools::validation::validate::{validate, ValidationPlan};
2628

2729
use lazy_static::lazy_static;
@@ -138,9 +140,7 @@ where
138140
) -> Self {
139141
let logger = logger.new(o!("component" => "GraphQlRunner"));
140142
let result_size = Arc::new(ResultSizeMetrics::new(registry));
141-
let mut graphql_validation_plan = ValidationPlan {
142-
rules: Vec::new()
143-
};
143+
let mut graphql_validation_plan = ValidationPlan { rules: Vec::new() };
144144

145145
graphql_validation_plan.add_rule(Box::new(LoneAnonymousOperation {}));
146146
graphql_validation_plan.add_rule(Box::new(FragmentsOnCompositeTypes {}));

0 commit comments

Comments
 (0)