summaryrefslogtreecommitdiffstats
path: root/src/context
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2020-12-13 12:42:53 -0500
committerJiayi Zhao <jeff.no.zhao@gmail.com>2020-12-13 12:42:53 -0500
commit2e5cdd07c2d8c18bad4099c82e36af64dc473a64 (patch)
treea9d7dee0f5a603cc96d6415a4549436a0f1818e0 /src/context
parent468e607c5d1cd5d554ae356fd3c8e78425840347 (diff)
code cleanup and fix path not showing when too long
Diffstat (limited to 'src/context')
-rw-r--r--src/context/local_state.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context/local_state.rs b/src/context/local_state.rs
index c48660f..71ca8f4 100644
--- a/src/context/local_state.rs
+++ b/src/context/local_state.rs
@@ -20,7 +20,7 @@ impl LocalStateContext {
self.file_op = operation;
}
- pub fn set_paths<'a, I>(&mut self, vals: I)
+ pub fn set_paths<I>(&mut self, vals: I)
where
I: Iterator<Item = path::PathBuf>,
{