mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 20:31:27 +00:00
Fix compiler warning with nightly rust
```
error: unused `ControlFlow` that must be used
--> internal/compiler/passes/infer_aliases_types.rs:185:5
|
185 | recurse(&root, element, &mut scope);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
```
This commit is contained in:
parent
c9dc53c55a
commit
bcd8c5d7be
1 changed files with 1 additions and 1 deletions
|
|
@ -182,6 +182,6 @@ fn recompute_scope(element: &ElementRc) -> ComponentScope {
|
|||
|
||||
let root = element.borrow().enclosing_component.upgrade().unwrap().root_element.clone();
|
||||
let mut scope = Vec::new();
|
||||
recurse(&root, element, &mut scope);
|
||||
let _ = recurse(&root, element, &mut scope);
|
||||
ComponentScope(scope)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue