Fixed typo/mistake in math alignment documentation. (#2865)

This commit is contained in:
Johann Birnick 2023-12-05 03:52:52 -08:00 committed by GitHub
parent 70ca0d257b
commit f3fa900d58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,7 +126,7 @@ use crate::text::{LinebreakElem, SpaceElem, TextElem};
/// below, the expression `(3x + y) / 7` is right-aligned and `= 9` is /// below, the expression `(3x + y) / 7` is right-aligned and `= 9` is
/// left-aligned. The word "given" is also left-aligned because `&&` creates two /// left-aligned. The word "given" is also left-aligned because `&&` creates two
/// alignment points in a row, alternating the alignment twice. `& &` and `&&` /// 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 /// because just one `&` precedes it. Each alignment point simply alternates
/// between right-aligned/left-aligned. /// between right-aligned/left-aligned.
/// ///