diff options
Diffstat (limited to 'src/ed.rs')
-rw-r--r-- | src/ed.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ed.rs b/src/ed.rs index 17b73fa..d51f5b0 100644 --- a/src/ed.rs +++ b/src/ed.rs @@ -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 } |