diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-04-14 19:36:50 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-04-14 19:36:50 +0300 |
commit | ebe533ac6927128c06793134889cd5028584f247 (patch) | |
tree | 137ef2209d3fe843c13edad2a5da44ffe41fc4cb /src | |
parent | fd0a5c81617dbbf8898ef88b273fedeb4cbe118f (diff) | |
download | jt2-ebe533ac6927128c06793134889cd5028584f247.tar.gz |
chore: drop unnecessary borrow
Sponsored-by: author
Diffstat (limited to 'src')
-rw-r--r-- | src/journal.rs | 2 |
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 { |