summary refs log tree commit diff stats
path: root/src/ed.rs
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2020-05-26 23:57:54 -0400
committerBen Morrison <ben@gbmor.dev>2020-05-26 23:57:54 -0400
commit9aaaedcb99227f3ad910057d48568c6b142ced9e (patch)
treec15fbbb86c0711c8d6120ffe27f7451929c9fc08 /src/ed.rs
parent99c5537622344ecba5a4c7d23a9bc227d9bd7fe3 (diff)
downloadclinte-9aaaedcb99227f3ad910057d48568c6b142ced9e.tar.gz
clippy lints
Diffstat (limited to 'src/ed.rs')
-rw-r--r--src/ed.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ed.rs b/src/ed.rs
index 7d52909..5c87133 100644
--- a/src/ed.rs
+++ b/src/ed.rs
@@ -7,7 +7,7 @@ use chrono::prelude::*;
 use crate::error;
 use crate::user;
 
-fn create_tmp_file<'a>() -> Result<String, std::io::Error> {
+fn create_tmp_file() -> Result<String, std::io::Error> {
     let the_time = Utc::now().to_rfc3339();
     let file_name = format!("/tmp/clinte_ed_{}_{}", *user::NAME, the_time);
     match fs::write(&file_name, "") {