diff options
author | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-06-15 14:40:05 +0800 |
---|---|---|
committer | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-06-15 14:40:05 +0800 |
commit | a3627c8d04b2a755a1e466745c84591ae8e9033b (patch) | |
tree | 2539a27461b9f3b828b7a8afe9cc1c4826820c21 /src/common.rs | |
parent | 0fb99e00453da6d63cc01af64fdab8419314763b (diff) |
Usage of StableGraph fixes logic thus far
Diffstat (limited to 'src/common.rs')
-rw-r--r-- | src/common.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.rs b/src/common.rs index cc499c6..45f944d 100644 --- a/src/common.rs +++ b/src/common.rs @@ -1,7 +1,7 @@ use crate::traverse::{EntryData, Tree, TreeIndex}; use byte_unit::{n_gb_bytes, n_gib_bytes, n_mb_bytes, n_mib_bytes, ByteUnit}; use jwalk::WalkDir; -use std::{fmt, path::Path, path::PathBuf}; +use std::{fmt, path::Path}; pub fn get_entry_or_panic(tree: &Tree, node_idx: TreeIndex) -> &EntryData { tree.node_weight(node_idx) |