diff --git a/src/documents/document/lists.rs b/src/documents/document/lists.rs index fd10476..1dc1e09 100644 --- a/src/documents/document/lists.rs +++ b/src/documents/document/lists.rs @@ -91,7 +91,7 @@ fn ordered(rest: &str) -> Option<(String, usize)> { Some((format!("{}{close}", number + 1), digits + 1)) } -/// Leading bytes that make one step, tabs to stops of four. +/// Leading bytes making one step; tabs stop every four. fn outdent(line: &str) -> usize { let mut columns = 0; for (bytes, ch) in line.char_indices() { diff --git a/src/typography/math/tests.rs b/src/typography/math/tests.rs index 74612ba..92c2a7d 100644 --- a/src/typography/math/tests.rs +++ b/src/typography/math/tests.rs @@ -198,7 +198,7 @@ fn an_exported_formula_outlines_its_text_or_says_why() { #[test] fn an_exported_formula_frames_its_outlined_text() { - // Wide or tall faces from the system, where fonts have them. + // Wide or tall system faces, where installed. for source in [r"\text{ν•œκΈ€}", r"\text{π“€€} + x"] { let Ok(svg) = formula_svg(source, false) else { continue;