Skip to content

Commit 992a520

Browse files
committed
fmt
1 parent b7ba145 commit 992a520

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

webgraph/src/graphs/csr_graph.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,9 @@ where
338338
}
339339
unsafe {
340340
efb.build().map_high_bits(|high_bits| {
341-
SelectZeroAdaptConst::<_, _, 12, 4>::new(
342-
SelectAdaptConst::<_, _, 12, 4>::new(high_bits),
343-
)
341+
SelectZeroAdaptConst::<_, _, 12, 4>::new(SelectAdaptConst::<_, _, 12, 4>::new(
342+
high_bits,
343+
))
344344
})
345345
}
346346
}

webgraph/tests/test_build_dcf.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,7 @@ fn test_build_dcf_cnr_2000() -> Result<()> {
130130
while let Some((_node, succs)) = lender.next() {
131131
cumul += succs.into_iter().count();
132132
node_idx += 1;
133-
assert_eq!(
134-
dcf.get(node_idx),
135-
cumul,
136-
"DCF mismatch at node {node_idx}"
137-
);
133+
assert_eq!(dcf.get(node_idx), cumul, "DCF mismatch at node {node_idx}");
138134
}
139135
assert_eq!(node_idx, n);
140136
assert_eq!(cumul, seq.num_arcs_hint().unwrap() as usize);

0 commit comments

Comments
 (0)