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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user