From 0f274f8edbbb93d65cb11713f4bdf912b3286800 Mon Sep 17 00:00:00 2001 From: Andrew Voynov <37143421+Andrew15-5@users.noreply.github.com> Date: Tue, 31 Oct 2023 22:50:21 +0300 Subject: [PATCH] Fixed doc typo for math > cancel > angle (#2535) --- crates/typst-library/src/math/cancel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/typst-library/src/math/cancel.rs b/crates/typst-library/src/math/cancel.rs index 8add7bcdb..d521149ed 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. ///