summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/typst/src/math/lr.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst/src/math/lr.rs b/crates/typst/src/math/lr.rs
index 53319c8d..c6b3c994 100644
--- a/crates/typst/src/math/lr.rs
+++ b/crates/typst/src/math/lr.rs
@@ -83,10 +83,10 @@ impl LayoutMath for LrElem {
}
}
-/// Scales contents vertically to the nearest surrounding `{lr()}` group.
+/// Scales delimiters vertically to the nearest surrounding `{lr()}` group.
///
/// ```example
-/// $ { x mid(|) sum_(i=1)^oo phi_i (x) < 1 } $
+/// $ { x mid(|) sum_(i=1)^n w_i|f_i (x)| < 1 } $
/// ```
#[elem(LayoutMath)]
pub struct MidElem {