summaryrefslogtreecommitdiff
path: root/crates/typst-library/src
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-12-05 16:57:01 +0100
committerGitHub <noreply@github.com>2024-12-05 15:57:01 +0000
commit0228462ba10397468b3c0937e2e9cd1d3118e0fc (patch)
tree94a09e12b7febce17a78f751d1a5e4f104234307 /crates/typst-library/src
parentcaa72f4ec2401c275ddd3d8794dcf0bfdf9697a8 (diff)
Bump Rust to 1.83 (#5534)
Diffstat (limited to 'crates/typst-library/src')
-rw-r--r--crates/typst-library/src/engine.rs1
-rw-r--r--crates/typst-library/src/introspection/locator.rs1
2 files changed, 2 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 {
diff --git a/crates/typst-library/src/introspection/locator.rs b/crates/typst-library/src/introspection/locator.rs
index 4045aa9c..a84cf163 100644
--- a/crates/typst-library/src/introspection/locator.rs
+++ b/crates/typst-library/src/introspection/locator.rs
@@ -203,6 +203,7 @@ impl<'a> Locator<'a> {
}
#[comemo::track]
+#[allow(clippy::needless_lifetimes)]
impl<'a> Locator<'a> {
/// Resolves the locator based on its local and the outer information.
fn resolve(&self) -> Resolved {