Skip to content

Commit d6846c3

Browse files
committed
Janitory: calrify comment
1 parent e6d6a32 commit d6846c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/interpreter/dynamic_item_tree.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ pub(crate) struct RepeaterWithinItemTree<'par_id, 'sub_id> {
118118
pub(crate) model: Expression,
119119
/// Offset of the `Repeater`
120120
offset: FieldOffset<Instance<'par_id>, Repeater<ErasedItemTreeBox>>,
121-
/// Whether this is a `if` or a `for`
121+
/// When true, it is representing a `if`, instead of a `for`.
122+
/// Based on [`i_slint_compiler::object_tree::RepeatedElementInfo::is_conditional_element`]
122123
is_conditional: bool,
123124
}
124125

0 commit comments

Comments
 (0)