Remove dbg!
This commit is contained in:
parent
0ee7c433e3
commit
fd7416456b
@ -161,7 +161,7 @@ pub fn solve_part2(content: &str) -> color_eyre::Result<u64> {
|
||||
let total_space = 70000000_u64;
|
||||
let tree = generate_tree(content)?;
|
||||
let used_space = total_size(&tree, tree.get(tree.root_node_id().unwrap())?)?;
|
||||
let free_space = total_space.checked_sub(dbg!(used_space)).unwrap();
|
||||
let free_space = total_space.checked_sub(used_space).unwrap();
|
||||
let needed_free_space = 30000000_u64;
|
||||
let minimum_space_to_free = needed_free_space.checked_sub(free_space).unwrap();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user