summaryrefslogtreecommitdiff
path: root/crates/typst-syntax
diff options
context:
space:
mode:
authorPgBiel <9021226+PgBiel@users.noreply.github.com>2024-06-20 23:37:22 -0300
committerPgBiel <9021226+PgBiel@users.noreply.github.com>2024-06-26 12:17:53 -0300
commitb318b0ae9939ac405eebc20b6f4cc5f765bfa3c6 (patch)
tree508b983fa4842ce621f02e2058d98b580955b3aa /crates/typst-syntax
parentc3c3ea9bfa7e6910136bbdcdc59f6d09860c6ab6 (diff)
satisfy clippy
Diffstat (limited to 'crates/typst-syntax')
-rw-r--r--crates/typst-syntax/src/node.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-syntax/src/node.rs b/crates/typst-syntax/src/node.rs
index a658617d..6a7f470b 100644
--- a/crates/typst-syntax/src/node.rs
+++ b/crates/typst-syntax/src/node.rs
@@ -844,7 +844,7 @@ impl<'a> LinkedNode<'a> {
// Found a parbreak or something else with two or more newlines.
// Can't have an attached decorator there.
- return None;
+ None
}
/// Get the next non-trivia sibling node.