summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/compute/calc.rs
diff options
context:
space:
mode:
authorBeiri22 <beier1@hs-mittweida.de>2023-08-25 14:27:50 +0200
committerGitHub <noreply@github.com>2023-08-25 14:27:50 +0200
commitea469c2df6378e8ce860217cd100831ae6ee8d9f (patch)
tree1c515a45523117e0e371c02ea63f1c0d292944c5 /crates/typst-library/src/compute/calc.rs
parent94df32a91973ace83f5f628db3daa19725be11e3 (diff)
calm down clippy even more (#1997)
Diffstat (limited to 'crates/typst-library/src/compute/calc.rs')
-rw-r--r--crates/typst-library/src/compute/calc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-library/src/compute/calc.rs b/crates/typst-library/src/compute/calc.rs
index 81715007..ee4261af 100644
--- a/crates/typst-library/src/compute/calc.rs
+++ b/crates/typst-library/src/compute/calc.rs
@@ -859,7 +859,7 @@ fn minmax(
goal: Ordering,
) -> SourceResult<Value> {
let mut iter = values.into_iter();
- let Some(Spanned { v: mut extremum, ..}) = iter.next() else {
+ let Some(Spanned { v: mut extremum, .. }) = iter.next() else {
bail!(span, "expected at least one value");
};