summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/engine.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-library/src/engine.rs')
-rw-r--r--crates/typst-library/src/engine.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/typst-library/src/engine.rs b/crates/typst-library/src/engine.rs
index cd25ec48..80aaef22 100644
--- a/crates/typst-library/src/engine.rs
+++ b/crates/typst-library/src/engine.rs
@@ -350,6 +350,7 @@ impl Route<'_> {
}
#[comemo::track]
+#[allow(clippy::needless_lifetimes)]
impl<'a> Route<'a> {
/// Whether the given id is part of the route.
pub fn contains(&self, id: FileId) -> bool {