diff options
| author | Malo <57839069+MDLC01@users.noreply.github.com> | 2023-12-14 14:20:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-14 14:20:02 +0100 |
| commit | 90241219057604a192717f1ca03c30ca8f5c320d (patch) | |
| tree | 48641ce353bb5329fe615f173e4bdf9826a6399f /crates | |
| parent | d869a07d2dbdfb5f1952d2d574f6848d21e7f68e (diff) | |
Remove mentions that Typst makes specifically 5 attempts to stabilize (#2947)
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/typst/src/introspection/query.rs | 4 | ||||
| -rw-r--r-- | crates/typst/src/introspection/state.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/crates/typst/src/introspection/query.rs b/crates/typst/src/introspection/query.rs index 5b70ba51..76c9216f 100644 --- a/crates/typst/src/introspection/query.rs +++ b/crates/typst/src/introspection/query.rs @@ -72,8 +72,8 @@ use crate::introspection::Location; /// titled `Real`. Thus, `count` is `1` and one `Fake` heading is generated. /// Typst sees that the query's result has changed and processes it again. This /// time, `count` is `2` and two `Fake` headings are generated. This goes on and -/// on. As we can see, the output has five headings. This is because Typst -/// simply gives up after five attempts. +/// on. As we can see, the output has a finite amount of headings. This is +/// because Typst simply gives up after a few attempts. /// /// In general, you should try not to write queries that affect themselves. The /// same words of caution also apply to other introspection features like diff --git a/crates/typst/src/introspection/state.rs b/crates/typst/src/introspection/state.rs index 382d8222..a1d8d6d0 100644 --- a/crates/typst/src/introspection/state.rs +++ b/crates/typst/src/introspection/state.rs @@ -170,8 +170,8 @@ use crate::World; /// a state, the results might never converge. The example below illustrates /// this. We initialize our state with `1` and then update it to its own final /// value plus 1. So it should be `2`, but then its final value is `2`, so it -/// should be `3`, and so on. This example display `4` because Typst simply -/// gives up after a few attempts. +/// should be `3`, and so on. This example displays a finite value because +/// Typst simply gives up after a few attempts. /// /// ```example /// #let s = state("x", 1) |
