aboutsummaryrefslogtreecommitdiff
path: root/src/dependency_trace.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dependency_trace.rs')
-rw-r--r--src/dependency_trace.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/dependency_trace.rs b/src/dependency_trace.rs
deleted file mode 100644
index 86906f4..0000000
--- a/src/dependency_trace.rs
+++ /dev/null
@@ -1,18 +0,0 @@
-#[must_use]
-pub fn create_dependency_trace(
- dependency_history: &[&'static str],
- err_dependency: &'static str,
-) -> String
-{
- dependency_history
- .iter()
- .map(|dep| {
- if dep == &err_dependency {
- format!("\x1b[1m{}\x1b[22m", dep)
- } else {
- (*dep).to_string()
- }
- })
- .collect::<Vec<_>>()
- .join(" -> ")
-}