Port · Parity: the last long comments are short

This commit is contained in:
ZacharyZhang-NY committed 2026-09-29 18:43:49 -04:00
1 parent c59d19645d
commit 2da09c1947
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ fn offset(align: TextAlign, free: Pixels) -> Pixels {
}
}
/// One line in the text style around it, cut by `fit` to its box and set by its alignment.
/// One line, cut by `fit` to its box and aligned.
fn cut_line(text: SharedString, fit: fn(&str, Pixels, &mut Window) -> String) -> Div {
let line = text.clone();
div()