diff options
| author | Ben Morrison <ben@gbmor.dev> | 2019-09-04 13:56:44 -0400 |
|---|---|---|
| committer | Ben Morrison <ben@gbmor.dev> | 2019-09-04 13:56:44 -0400 |
| commit | 19ae5c3b7d998d7a4406e45180e8cb16084ddf88 (patch) | |
| tree | b7667e45670dfb96561c14c3cec38e20d2591088 /src | |
| parent | c0ce5eff2797dd7e5652fd15594f170cd90d8ac9 (diff) | |
| download | clinte-19ae5c3b7d998d7a4406e45180e8cb16084ddf88.tar.gz | |
removing temp file
Diffstat (limited to 'src')
| -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 } |