summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-04-14 16:51:57 +0000
committerLars Wirzenius <liw@liw.fi>2023-04-14 16:51:57 +0000
commit43868859acb212d6005edb34f6b102532c251af9 (patch)
tree137ef2209d3fe843c13edad2a5da44ffe41fc4cb
parentfd0a5c81617dbbf8898ef88b273fedeb4cbe118f (diff)
parentebe533ac6927128c06793134889cd5028584f247 (diff)
downloadjt2-43868859acb212d6005edb34f6b102532c251af9.tar.gz
Merge branch 'liw/chore' into 'main'
chore: drop unnecessary borrow See merge request larswirzenius/jt!35
-rw-r--r--src/journal.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal.rs b/src/journal.rs
index 44d632f..f6f3e61 100644
--- a/src/journal.rs
+++ b/src/journal.rs
@@ -234,7 +234,7 @@ fn is_dir(path: &Path) -> bool {
}
fn topic_path(dirname: &Path, topic: &Path) -> PathBuf {
- dirname.join(&format!("{}.mdwn", topic.display()))
+ dirname.join(format!("{}.mdwn", topic.display()))
}
fn current_timestamp() -> String {