diff --git a/src/deb/local.rs b/src/deb/local.rs index b57e55b..da01552 100644 --- a/src/deb/local.rs +++ b/src/deb/local.rs @@ -961,7 +961,7 @@ fn is_debian_changes(entry: &str) -> bool { /// lines never apply; in a `single-debian-patch` tree the ambient /// 'debian-changes[-]' entries are dropped (their content stays in /// the working tree — `quilt push -a` would refuse them). -fn series_patches_to_apply<'a>(series_content: &'a str, single_debian_patch: bool) -> Vec<&'a str> { +fn series_patches_to_apply(series_content: &str, single_debian_patch: bool) -> Vec<&str> { series_content .lines() .map(str::trim)