diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-11-22 11:31:06 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-11-22 11:31:06 -0800 |
commit | f1b80f13f9408db9f76410c717d67d4f9cf7ed2a (patch) | |
tree | 78e19b2422f82a8b040e68e50758f4f6299a67fb /adenosine-pds/src/db.rs | |
parent | 4fd86c1b2191aaaabc2b8a6ec5fc1078d75a28b5 (diff) | |
download | adenosine-f1b80f13f9408db9f76410c717d67d4f9cf7ed2a.tar.gz adenosine-f1b80f13f9408db9f76410c717d67d4f9cf7ed2a.zip |
clippy cleanups
Diffstat (limited to 'adenosine-pds/src/db.rs')
-rw-r--r-- | adenosine-pds/src/db.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adenosine-pds/src/db.rs b/adenosine-pds/src/db.rs index b94689a..b694bb5 100644 --- a/adenosine-pds/src/db.rs +++ b/adenosine-pds/src/db.rs @@ -207,7 +207,7 @@ impl AtpDatabase { reply_to_parent_uri, reply_to_root_uri, serde_json::to_string(&post)?, - post.createdAt.unwrap_or_else(|| created_at_now()) + post.createdAt.unwrap_or_else(created_at_now) ))?; } else { let mut stmt = self |