Fixed substitution bug

pull/2/head
Mark 2023-07-28 15:09:25 -07:00
parent 3e147f662d
commit 8dd1a785d0
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ pub fn find_subs(
} else { } else {
let target = target.unwrap(); let target = target.unwrap();
let l = t.get_mut_line_location(); let l = t.get_mut_line_location();
r.push_front((l.clone(), String::from(target))); r.push_back((l.clone(), String::from(target)));
let old_len = l.len; let old_len = l.len;
let new_len = target.chars().count(); let new_len = target.chars().count();