summaryrefslogtreecommitdiff
path: root/library/src/prelude.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-05-11 11:27:00 +0200
committerLaurenz <laurmaedje@gmail.com>2023-05-11 11:27:00 +0200
commit2f0b5eeae09bd880e4552bb83e44d9cd32571c58 (patch)
tree6989d423e6bb614b3224be53140e4d649033aeac /library/src/prelude.rs
parent47dff3765de863554ca296448555599fc50d4a8a (diff)
More efficient introspection
Switches from a mutable locator to one based on tracked chains and optimizes query performance.
Diffstat (limited to 'library/src/prelude.rs')
-rw-r--r--library/src/prelude.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/src/prelude.rs b/library/src/prelude.rs
index cb21a732..a0cef491 100644
--- a/library/src/prelude.rs
+++ b/library/src/prelude.rs
@@ -23,9 +23,9 @@ pub use typst::geom::*;
#[doc(no_inline)]
pub use typst::model::{
element, Behave, Behaviour, Construct, Content, ElemFunc, Element, Finalize, Fold,
- Introspector, Label, Locatable, LocatableSelector, Location, MetaElem, PlainText,
- Resolve, Selector, Set, Show, StabilityProvider, StyleChain, StyleVec, Styles,
- Synthesize, Unlabellable, Vt,
+ Introspector, Label, Locatable, LocatableSelector, Location, Locator, MetaElem,
+ PlainText, Resolve, Selector, Set, Show, StyleChain, StyleVec, Styles, Synthesize,
+ Unlabellable, Vt,
};
#[doc(no_inline)]
pub use typst::syntax::{Span, Spanned};