From 60d71f29b1b120df3a9a017b44e7ea43a9d641fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Mon, 12 Oct 2026 17:07:21 -0400 Subject: [PATCH] documents and typography: two comments within ten words --- src/documents/document/lists.rs | 2 +- src/typography/math/tests.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;