From 7049a4563403e653f5c1f816da3dfd9025c6787a Mon Sep 17 00:00:00 2001 From: Alex Saveau Date: Mon, 12 Jun 2023 03:44:03 -0700 Subject: Fix a bunch of typos + broken link (#1453) --- library/src/layout/flow.rs | 2 +- library/src/layout/par.rs | 2 +- library/src/meta/numbering.rs | 2 +- library/src/meta/outline.rs | 4 ++-- library/src/meta/reference.rs | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'library/src') diff --git a/library/src/layout/flow.rs b/library/src/layout/flow.rs index 40213603..fdce7c0b 100644 --- a/library/src/layout/flow.rs +++ b/library/src/layout/flow.rs @@ -122,7 +122,7 @@ enum FlowItem { /// Fractional spacing between other items. Fractional(Fr), /// A frame for a layouted block, how to align it, whether it sticks to the - /// item after it (for orphan preventation), and whether it is movable + /// item after it (for orphan prevention), and whether it is movable /// (to keep it together with its footnotes). Frame { frame: Frame, aligns: Axes, sticky: bool, movable: bool }, /// An absolutely placed frame. diff --git a/library/src/layout/par.rs b/library/src/layout/par.rs index 79b36813..fa53f031 100644 --- a/library/src/layout/par.rs +++ b/library/src/layout/par.rs @@ -1013,7 +1013,7 @@ fn linebreak_optimized<'a>(vt: &Vt, p: &'a Preparation<'a>, width: Abs) -> Vec n * 2em}` would be equivalent to just specifiying `{2em}`, + /// `{n => n * 2em}` would be equivalent to just specifying `{2em}`, /// while `{n => [→ ] * n}` would indent with one arrow per nesting /// level. /// diff --git a/library/src/meta/reference.rs b/library/src/meta/reference.rs index 42450b97..1d8bd118 100644 --- a/library/src/meta/reference.rs +++ b/library/src/meta/reference.rs @@ -254,7 +254,7 @@ cast! { /// Marks an element as being able to be referenced. This is used to implement /// the `@ref` element. pub trait Refable { - /// The supplement, if not overriden by the reference. + /// The supplement, if not overridden by the reference. fn supplement(&self) -> Content; /// Returns the counter of this element. -- cgit v1.2.3