Skip to content

Commit e6e44ca

Browse files
zazabapclaude
andcommitted
style: fix formatting (cargo fmt)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 804fbea commit e6e44ca

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

problemreductions-cli/src/commands/graph.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ pub(crate) fn variant_to_full_slash(variant: &BTreeMap<String, String>) -> Strin
259259
}
260260
}
261261

262-
263262
/// Format a problem node as **bold name/variant** in slash notation.
264263
/// This is the single source of truth for "name/variant" display.
265264
fn fmt_node(_graph: &ReductionGraph, name: &str, variant: &BTreeMap<String, String>) -> String {

src/rules/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ mod circuit_spinglass;
99
mod coloring_qubo;
1010
mod factoring_circuit;
1111
mod graph;
12-
mod knapsack_qubo;
1312
mod kcoloring_casts;
13+
mod knapsack_qubo;
1414
mod ksatisfiability_casts;
1515
mod ksatisfiability_qubo;
1616
mod maximumindependentset_casts;

src/unit_tests/rules/knapsack_qubo.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ fn test_knapsack_to_qubo_closed_loop() {
1818
.iter()
1919
.map(|t| reduction.extract_solution(t))
2020
.collect();
21-
let source_set: std::collections::HashSet<Vec<usize>> =
22-
best_source.into_iter().collect();
21+
let source_set: std::collections::HashSet<Vec<usize>> = best_source.into_iter().collect();
2322

2423
assert!(extracted.is_subset(&source_set));
2524
assert!(!extracted.is_empty());

0 commit comments

Comments
 (0)