Skip to content

Commit ee780e9

Browse files
committed
Address nits
1 parent 4c884b4 commit ee780e9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

text/0000-const-looping.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,15 @@ indefinitely, we count the number of terminators processed and whenever we reach
8282
a fixed limit, we report a lint mentioning that we cannot guarantee that the
8383
evaluation will terminate and reset the counter to zero. This lint should recur
8484
in a non-annoying amount of time (e.g. at least 30 seconds between occurrences).
85+
This means that there's an internal deterministic counter (for the terminators) and
86+
a timestamp of the last (if any) loop warning emission. Both the counter needs to reach
87+
its limit and 30 seconds have to have passed since the last warning emission in order
88+
for a new warning to be emitted.
8589

8690
# Drawbacks
8791
[drawbacks]: #drawbacks
8892

89-
* Infinite loops will hang the compiler if the lint is not denied
93+
* Infinite loops will cause the compiler to never finish if the lint is not denied
9094

9195
# Rationale and alternatives
9296
[alternatives]: #alternatives

0 commit comments

Comments
 (0)