diff options
| -rw-r--r-- | src/ed.rs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -47,5 +47,7 @@ pub fn call() -> String { .output(), ); - error::helper(fs::read_to_string(tmp_loc)) + let body = error::helper(fs::read_to_string(tmp_loc.clone())); + error::helper(fs::remove_file(tmp_loc)); + body } |