summaryrefslogtreecommitdiff
path: root/library/src/layout
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/layout')
-rw-r--r--library/src/layout/flow.rs2
-rw-r--r--library/src/layout/par.rs2
2 files changed, 2 insertions, 2 deletions
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<Align>, 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<L
/// Install icu4x-datagen with `cargo install icu4x-datagen`.
static ICU_DATA: &[u8] = include_bytes!("../../../assets/data/icudata.postcard");
-/// Gnerated by the following command:
+/// Generated by the following command:
///
/// ```sh
/// icu4x-datagen --locales zh ja --keys segmenter/line@1 --format blob \