clippy: remove explicit returns

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler
2021-01-20 16:23:54 +01:00
parent d8d8af9826
commit 38556bf60d
13 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -226,7 +226,7 @@ pub fn list_installed_apt_packages<F: Fn(FilterData) -> bool>(
}
}
return ret;
ret
}
fn query_detailed_info<'a, F, V>(
@@ -366,5 +366,5 @@ where
}
}
return None;
None
}