Make clippy happy

This commit is contained in:
Marc Plano-Lesay 2025-05-04 21:30:03 +10:00
parent baca332353
commit 756d1824f6
Signed by: kernald
GPG key ID: 66A41B08CC62A6CF
4 changed files with 13 additions and 14 deletions

View file

@ -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)