refact: unncessary wraps
This commit is contained in:
1 parent
c3f73cb4fa
commit
3b830e9b60
1 file changed
+2
@@ -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(())
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user