File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ pub(crate) struct ActiveQuery {
62
62
cycle_heads : CycleHeads ,
63
63
64
64
/// If this query is a cycle head, iteration count of that cycle.
65
- pub ( crate ) iteration_count : u32 ,
65
+ iteration_count : u32 ,
66
66
}
67
67
68
68
impl ActiveQuery {
@@ -129,6 +129,10 @@ impl ActiveQuery {
129
129
changed_at : self . changed_at ,
130
130
}
131
131
}
132
+
133
+ pub ( super ) fn iteration_count ( & self ) -> u32 {
134
+ self . iteration_count
135
+ }
132
136
}
133
137
134
138
impl ActiveQuery {
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ where
280
280
if !db. zalsa_local ( ) . with_query_stack ( |stack| {
281
281
stack. iter ( ) . any ( |entry| {
282
282
entry. database_key_index == cycle_head. database_key_index
283
- && entry. iteration_count == cycle_head. iteration_count
283
+ && entry. iteration_count ( ) == cycle_head. iteration_count
284
284
} )
285
285
} ) {
286
286
return false ;
You can’t perform that action at this time.
0 commit comments