Skip to content

Commit a26a647

Browse files
committed
comments and removed tracing
1 parent 3b60ab9 commit a26a647

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/dfx/src/lib/graph/traverse_filtered.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ impl<NodeId, VM> BfsFiltered<NodeId, VM> {
5858
if let Some(first_id) = self.base.next(graph) {
5959
while let Some(source_child_id) = &self.base.next(graph) {
6060
if (&mut predicate)(source_child_id) {
61+
// TODO: Create a `petgraph` issue asking to explain the next line of code workings.
6162
let source_parent_id = self.base.stack.iter().map(|e| *e).chain(once(first_id)).find(&mut predicate);
6263
if let Some(source_parent_id) = &source_parent_id {
63-
println!("YYY: {:?} => {:?}", source_parent_id, &source_child_id);
6464
(&mut call)(source_parent_id, &source_child_id);
6565
}
6666
}

src/dfx/src/lib/models/canister.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,6 @@ impl CanisterPool {
824824
.rev() // Reverse the order, as we have a dependency graph, we want to reverse indices.
825825
.map(|idx| *graph.node_weight(*idx).unwrap())
826826
.collect();
827-
println!("ORDER: {:?}", order.iter().map(|c| c.to_text()).collect::<Vec<_>>());
828827

829828
// let canisters_to_build = Bfs::new(graph, start);
830829
// let canisters_to_build = self.canisters_to_build(build_config); // FIXME

0 commit comments

Comments
 (0)