mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
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:
parent
ed8b29019e
commit
de81fa1dba
3 changed files with 4 additions and 4 deletions
|
@ -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 }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue