summaryrefslogtreecommitdiffstats
path: root/src/commands/rename_file.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-06-04 15:02:56 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-06-04 15:02:56 -0400
commita521ceb379c34c854fb4e9848c0bcb7d28b46f4f (patch)
treec86e97529d19d60999828887bea8d60024b75a7e /src/commands/rename_file.rs
parent735b51f6c350b97feb4f0f43bf3f9fc15858d1fd (diff)
remove file_name_as_string
Diffstat (limited to 'src/commands/rename_file.rs')
-rw-r--r--src/commands/rename_file.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/rename_file.rs b/src/commands/rename_file.rs
index a8246ec..c4166f3 100644
--- a/src/commands/rename_file.rs
+++ b/src/commands/rename_file.rs
@@ -133,7 +133,7 @@ impl JoshutoRunnable for RenameFileAppend {
let file_name = match curr_list.get_curr_ref() {
Some(s) => {
let escaped = escape(
- s.file_name_as_string.clone(),
+ s.file_name.clone(),
ESCAPE_CHAR,
&DEFAULT_BREAK_CHARS,
Quote::None,
@@ -194,7 +194,7 @@ impl JoshutoRunnable for RenameFilePrepend {
let file_name = match curr_list.get_curr_ref() {
Some(s) => {
let escaped = escape(
- s.file_name_as_string.clone(),
+ s.file_name.clone(),
ESCAPE_CHAR,
&DEFAULT_BREAK_CHARS,
Quote::None,