Remove an unnecessary lifetime
@@ -259,10 +259,10 @@ fn extract_target_from_package(package: &Value) -> Option<Vec<Target>> {
Some(targets)
}
-fn filter_packages_with_hitlist<'a>(
+fn filter_packages_with_hitlist(
packages: Vec<Value>,
- workspace_hitlist: &'a WorkspaceHitlist,
-) -> Result<Vec<Value>, &'a String> {
+ workspace_hitlist: &WorkspaceHitlist,
+) -> Result<Vec<Value>, &String> {
let some_hitlist: Option<HashSet<&String>> =
workspace_hitlist.get_some().map(HashSet::from_iter);
if some_hitlist.is_none() {
