diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-06-12 15:40:43 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-06-12 15:42:01 +0200 |
| commit | 378ebe5f5601f11c3f428c17bed492012feb251e (patch) | |
| tree | 4530bf009844faca40ca4fd6d0b9251fd51ef587 /src/model/introspect.rs | |
| parent | 19bf1f58944a42f17903869c162a33aba22b80b0 (diff) | |
Delayed errors
Fixes #785. Thanks to @Dherse for the idea!
Diffstat (limited to 'src/model/introspect.rs')
| -rw-r--r-- | src/model/introspect.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/model/introspect.rs b/src/model/introspect.rs index f00f89f5..b150fabf 100644 --- a/src/model/introspect.rs +++ b/src/model/introspect.rs @@ -241,11 +241,6 @@ impl Introspector { #[comemo::track] impl Introspector { - /// Whether this introspector is not yet initialized. - pub fn init(&self) -> bool { - self.pages > 0 - } - /// Query for all matching elements. pub fn query(&self, selector: &Selector) -> EcoVec<Prehashed<Content>> { let hash = crate::util::hash128(selector); |
