diff options
Diffstat (limited to 'crates/typst-library/src/layout')
| -rw-r--r-- | crates/typst-library/src/layout/par.rs | 2 | ||||
| -rw-r--r-- | crates/typst-library/src/layout/spacing.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst-library/src/layout/par.rs b/crates/typst-library/src/layout/par.rs index cfc20416..10f78ef2 100644 --- a/crates/typst-library/src/layout/par.rs +++ b/crates/typst-library/src/layout/par.rs @@ -808,7 +808,7 @@ fn shape_range<'a>( let mut cursor = range.start; // Group by embedding level and script. If the text's script is explicitly - // set (rather than inferred from the glpyhs), we keep the script at an + // set (rather than inferred from the glyphs), we keep the script at an // unchanging `Script::Unknown` so that only level changes cause breaks. for i in range.clone() { if !bidi.text.is_char_boundary(i) { diff --git a/crates/typst-library/src/layout/spacing.rs b/crates/typst-library/src/layout/spacing.rs index cf69f6d9..9af54237 100644 --- a/crates/typst-library/src/layout/spacing.rs +++ b/crates/typst-library/src/layout/spacing.rs @@ -31,7 +31,7 @@ pub struct HElem { /// next to weak spacing, you can explicitly write `[#" "]` (for a normal /// space) or `[~]` (for a non-breaking space). The latter can be useful to /// create a construct that always attaches to the preceding word with one - /// non-breaking space, independently of wether a markup space existed in + /// non-breaking space, independently of whether a markup space existed in /// front or not. /// /// ```example |
