summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAndrew Voynov <37143421+Andrew15-5@users.noreply.github.com>2023-10-31 22:50:21 +0300
committerGitHub <noreply@github.com>2023-10-31 20:50:21 +0100
commit0f274f8edbbb93d65cb11713f4bdf912b3286800 (patch)
tree877490dc14ac4cff94bbb865bc4dc1d748ac4f2c /crates
parentc177a63c9b8b5e57a6ce10f454e809b5474a354b (diff)
Fixed doc typo for math > cancel > angle (#2535)
Diffstat (limited to 'crates')
-rw-r--r--crates/typst-library/src/math/cancel.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-library/src/math/cancel.rs b/crates/typst-library/src/math/cancel.rs
index 8add7bcd..d521149e 100644
--- a/crates/typst-library/src/math/cancel.rs
+++ b/crates/typst-library/src/math/cancel.rs
@@ -57,7 +57,7 @@ pub struct CancelElem {
/// diagonal line of the content box.
/// - If given an angle, the line is rotated by that angle clockwise w.r.t
/// the y-axis.
- /// - It given a function `angle => angle`, the line is rotated by the angle
+ /// - If given a function `angle => angle`, the line is rotated by the angle
/// returned by that function. The function receives the default angle as
/// its input.
///