refact: unncessary wraps
This commit is contained in:
@@ -225,6 +225,7 @@ impl Pacdef {
|
|||||||
Ok(result)
|
Ok(result)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::unnecessary_wraps)]
|
||||||
fn show_groups(self) -> Result<()> {
|
fn show_groups(self) -> Result<()> {
|
||||||
if self.groups.is_empty() {
|
if self.groups.is_empty() {
|
||||||
eprintln!("WARNING: no group files found");
|
eprintln!("WARNING: no group files found");
|
||||||
@@ -235,6 +236,7 @@ impl Pacdef {
|
|||||||
for g in vec {
|
for g in vec {
|
||||||
println!("{}", g.name);
|
println!("{}", g.name);
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user