diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-05-23 08:34:22 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-05-23 08:34:22 +0000 |
commit | 96c269190104ce3be4ecb071352d129ace9ea93a (patch) | |
tree | cb61a5cdb47c007eb66ce61e645b42d064b85512 /src/cmd.rs | |
parent | 4bf43dc56719df211b111d5a71f28c0d0e14b922 (diff) | |
parent | a19f4254b73cc981e0559a2c5e1ac7c214fdfe4e (diff) | |
download | jt2-96c269190104ce3be4ecb071352d129ace9ea93a.tar.gz |
Merge branch 'fixes' into 'main'
chore: fix clippy warnings, use new Subplot binary name
See merge request larswirzenius/jt!17
Diffstat (limited to 'src/cmd.rs')
-rw-r--r-- | src/cmd.rs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -36,7 +36,9 @@ pub struct IsJournal {} impl IsJournal { pub fn run(&self, config: &Configuration) -> Result<(), JournalError> { if !Journal::is_journal(&config.dirname, &config.entries) { - return Err(JournalError::NotAJournal(config.dirname.display().to_string()).into()); + return Err(JournalError::NotAJournal( + config.dirname.display().to_string(), + )); } Ok(()) } |