Port · Parity: the last long comments are short
This commit is contained in:
1 parent
c59d19645d
commit
2da09c1947
4 files changed
+4
-4
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user