refact: unncessary wraps

This commit is contained in:
steven-omaha committed 2023-06-02 14:03:48 +02:00
1 parent c3f73cb4fa
commit 3b830e9b60
1 file changed
+2
+2
View File
@@ -225,6 +225,7 @@ impl Pacdef {
Ok(result)
}
#[allow(clippy::unnecessary_wraps)]
fn show_groups(self) -> Result<()> {
if self.groups.is_empty() {
eprintln!("WARNING: no group files found");
@@ -235,6 +236,7 @@ impl Pacdef {
for g in vec {
println!("{}", g.name);
}
Ok(())
}