clippy: elide the needless lifetimes of series_patches_to_apply

CI lints with -Dwarnings; the explicit 'a lifetime on
series_patches_to_apply triggers needless_lifetimes and would fail
the gate.
This commit is contained in:
2026-09-29 12:12:38 +02:00
parent 6bb31ea533
commit a3f6b97335
+1 -1
View File
@@ -961,7 +961,7 @@ fn is_debian_changes(entry: &str) -> bool {
/// lines never apply; in a `single-debian-patch` tree the ambient
/// 'debian-changes[-<version>]' 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)