mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Fix clippy warnings and make them all errors
This commit is contained in:
parent
161c38807d
commit
8989b0d2e3
12 changed files with 24 additions and 23 deletions
|
@ -17,6 +17,7 @@ use filter::filtered_tasks;
|
|||
use modify::apply_modification;
|
||||
|
||||
/// Invoke the given Command in the context of the given settings
|
||||
#[allow(clippy::needless_return)]
|
||||
pub(crate) fn invoke(command: Command, settings: Config) -> Fallible<()> {
|
||||
log::debug!("command: {:?}", command);
|
||||
log::debug!("settings: {:?}", settings);
|
||||
|
@ -88,7 +89,7 @@ pub(crate) fn invoke(command: Command, settings: Config) -> Fallible<()> {
|
|||
subcommand: Subcommand::Version,
|
||||
..
|
||||
} => unreachable!(),
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
// utilities for invoke
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue