diff options
| author | Hermes Agent <hermes@localhost> | 2026-08-12 07:48:21 +0000 |
|---|---|---|
| committer | Hermes Agent <hermes@localhost> | 2026-08-12 07:48:21 +0000 |
| commit | f967d698efd44473a9285e02d0109f3bb0641622 (patch) | |
| tree | c94975571db9426cf71b15c9e6d16346e438c7c6 /src/package_installer.rs | |
| parent | 5e6cae20331f8e7cfd551b4656f0de852a4ad44c (diff) | |
Format native builder and satisfy clippy
Diffstat (limited to 'src/package_installer.rs')
| -rw-r--r-- | src/package_installer.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/package_installer.rs b/src/package_installer.rs index 03e429f..ec84add 100644 --- a/src/package_installer.rs +++ b/src/package_installer.rs @@ -1,6 +1,6 @@ use std::path::{Path, PathBuf}; -use anyhow::{bail, Result}; +use anyhow::{Result, bail}; #[derive(Debug, Clone, PartialEq, Eq)] pub struct AptConfig(PathBuf); @@ -12,7 +12,10 @@ impl AptConfig { bail!("APT configuration must be a file path: {}", path.display()); } if !path.is_file() { - bail!("APT configuration does not exist or is not a regular file: {}", path.display()); + bail!( + "APT configuration does not exist or is not a regular file: {}", + path.display() + ); } Ok(Self(path.to_path_buf())) } |