diff options
author | qkzk <qu3nt1n@gmail.com> | 2022-09-26 09:30:59 +0200 |
---|---|---|
committer | qkzk <qu3nt1n@gmail.com> | 2022-09-26 09:30:59 +0200 |
commit | b9b3a609b61f396d72210d6429583f92fea88be8 (patch) | |
tree | b0d76c3422cb146fc10105de6bf49123f0bbc1bd | |
parent | 8bf98f350ad4a3770c6e68323ff961642b0bf5f3 (diff) |
move use to topshellexpand
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 794fc376..43ebfa2d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,4 @@ +use std::borrow::Borrow; use std::cmp::{max, min}; use std::collections::HashSet; use std::fmt; @@ -679,7 +680,6 @@ impl Status { } fn exec_goto(&mut self) { - use std::borrow::Borrow; let target_string = self.input_string.clone(); let expanded_cow_path = shellexpand::tilde(&target_string); let expanded_target: &str = expanded_cow_path.borrow(); |