summaryrefslogtreecommitdiff
path: root/library/src/layout
diff options
context:
space:
mode:
authorAlex Saveau <saveau.alexandre@gmail.com>2023-06-12 03:44:03 -0700
committerGitHub <noreply@github.com>2023-06-12 12:44:03 +0200
commit7049a4563403e653f5c1f816da3dfd9025c6787a (patch)
tree6c9378e0aea1b1de79d3b221d13b4c2f0a89945d /library/src/layout
parentc58a8fbd1dfedf571a47a3c8504067f6365c6cd4 (diff)
Fix a bunch of typos + broken link (#1453)
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 \