summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-04-14 19:36:50 +0300
committerLars Wirzenius <liw@liw.fi>2023-04-14 19:36:50 +0300
commitebe533ac6927128c06793134889cd5028584f247 (patch)
tree137ef2209d3fe843c13edad2a5da44ffe41fc4cb /src
parentfd0a5c81617dbbf8898ef88b273fedeb4cbe118f (diff)
downloadjt2-ebe533ac6927128c06793134889cd5028584f247.tar.gz
chore: drop unnecessary borrow
Sponsored-by: author
Diffstat (limited to 'src')
-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 {