summaryrefslogtreecommitdiffstats
path: root/adenosine-pds/src/db.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-11-22 11:31:06 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-11-22 11:31:06 -0800
commitf1b80f13f9408db9f76410c717d67d4f9cf7ed2a (patch)
tree78e19b2422f82a8b040e68e50758f4f6299a67fb /adenosine-pds/src/db.rs
parent4fd86c1b2191aaaabc2b8a6ec5fc1078d75a28b5 (diff)
downloadadenosine-f1b80f13f9408db9f76410c717d67d4f9cf7ed2a.tar.gz
adenosine-f1b80f13f9408db9f76410c717d67d4f9cf7ed2a.zip
clippy cleanups
Diffstat (limited to 'adenosine-pds/src/db.rs')
-rw-r--r--adenosine-pds/src/db.rs2
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