CI: Fix build with nightly and -D warnings

Add life-time annotations as recommended by the compiler to clarify
the flow of life times of arguments to the output.
This commit is contained in:
Simon Hausmann 2025-06-06 11:38:50 +02:00
parent ed8b29019e
commit de81fa1dba
3 changed files with 4 additions and 4 deletions

View file

@ -300,7 +300,7 @@ struct Components<'a> {
separator: Option<char>,
}
fn component_iter(path: &str) -> Components {
fn component_iter(path: &str) -> Components<'_> {
Components { path, offset: 0, separator: None }
}