Make clippy happy
This commit is contained in:
parent
baca332353
commit
756d1824f6
4 changed files with 13 additions and 14 deletions
|
|
@ -67,7 +67,7 @@ pub fn load_config(args: &Args) -> Result<Config> {
|
|||
.wrap_err_with(|| "Invalid configuration or insufficient command line arguments")?;
|
||||
|
||||
if conf.sources.is_empty() {
|
||||
return Err(eyre!("No sources found in configuration. Please add at least one source to your configuration file.").into());
|
||||
return Err(eyre!("No sources found in configuration. Please add at least one source to your configuration file."));
|
||||
}
|
||||
|
||||
Ok(conf)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue