mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 18:29:09 +00:00
fix compilation error
This commit is contained in:
parent
64408af083
commit
27a05b135c
1 changed files with 1 additions and 1 deletions
|
@ -827,7 +827,7 @@ impl SyntaxNode {
|
|||
.find(|n| n.kind() == kind)
|
||||
.and_then(|x| x.as_token().map(|x| x.text().into()))
|
||||
}
|
||||
pub fn descendants(&self) -> impl Iterator<Item = SyntaxNode> {
|
||||
pub fn descendants(&self) -> impl Iterator<Item = SyntaxNode> + use<'_> {
|
||||
let source_file = self.source_file.clone();
|
||||
self.node
|
||||
.descendants()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue