summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann Birnick <6528009+jbirnick@users.noreply.github.com>2023-12-05 03:52:52 -0800
committerGitHub <noreply@github.com>2023-12-05 12:52:52 +0100
commitf3fa900d58a4507dc5b4200166d6603b4cb9859d (patch)
treebc1d2091e91acd3169dd49992d0cc8a0ffc1c9fd
parent70ca0d257bb4ba927f63260e20443f244e0bb58c (diff)
Fixed typo/mistake in math alignment documentation. (#2865)
-rw-r--r--crates/typst/src/math/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst/src/math/mod.rs b/crates/typst/src/math/mod.rs
index 85227fc1..46449ec8 100644
--- a/crates/typst/src/math/mod.rs
+++ b/crates/typst/src/math/mod.rs
@@ -126,7 +126,7 @@ use crate::text::{LinebreakElem, SpaceElem, TextElem};
/// below, the expression `(3x + y) / 7` is right-aligned and `= 9` is
/// left-aligned. The word "given" is also left-aligned because `&&` creates two
/// alignment points in a row, alternating the alignment twice. `& &` and `&&`
-/// behave exactly the same way. Meanwhile, "multiply by 7" is left-aligned
+/// behave exactly the same way. Meanwhile, "multiply by 7" is right-aligned
/// because just one `&` precedes it. Each alignment point simply alternates
/// between right-aligned/left-aligned.
///