From d1dd0b27d51ff4ac9df228f18f89b78f8232102a Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Fri, 25 Sep 2026 07:51:02 +0200 Subject: [PATCH] docs(render): name icon_fit in the fit_scale test's comment --- src/terminal/element.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terminal/element.rs b/src/terminal/element.rs index be4807a7..7424b570 100644 --- a/src/terminal/element.rs +++ b/src/terminal/element.rs @@ -2841,7 +2841,7 @@ mod tests { assert_eq!(fit_scale(px(19.2), budget), 15. / 19.2); // Whatever already fits keeps its own size, including a glyph that // lands exactly on the edge and a run that measured as empty. Making - // a small glyph bigger is `icon_growth`'s rule, not this one's. + // a small glyph bigger is `icon_fit`'s rule, not this one's. assert_eq!(fit_scale(px(15.), budget), 1.); assert_eq!(fit_scale(px(12.), budget), 1.); assert_eq!(fit_scale(px(0.), budget), 1.);