From 9d61f9c92708b86ee09f9808cf19d0f9c0458159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hubert=20G=C5=82uchowski?= Date: Tue, 1 Apr 2025 16:08:51 +0200 Subject: [PATCH] Fix some typos --- crates/epaint/src/text/fonts.rs | 2 +- crates/epaint/src/text/text_layout_types.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/epaint/src/text/fonts.rs b/crates/epaint/src/text/fonts.rs index ead608851..a8d6469ef 100644 --- a/crates/epaint/src/text/fonts.rs +++ b/crates/epaint/src/text/fonts.rs @@ -917,7 +917,7 @@ impl GalleyCache { /// If true, lay out and cache each paragraph (sections separated by newlines) individually. /// -/// This makes it much faster to re-lauout the full tet when only a portion of it has changed since last frame, i.e. when editing somewhere in a file with thousands of lines/paragraphs. +/// This makes it much faster to re-layout the full text when only a portion of it has changed since last frame, i.e. when editing somewhere in a file with thousands of lines/paragraphs. fn should_cache_each_paragraph_individually(job: &LayoutJob) -> bool { // We currently don't support this elided text, i.e. when `max_rows` is set. // Most often, elided text is elided to one row, diff --git a/crates/epaint/src/text/text_layout_types.rs b/crates/epaint/src/text/text_layout_types.rs index fd80a3a36..4bd15d3e3 100644 --- a/crates/epaint/src/text/text_layout_types.rs +++ b/crates/epaint/src/text/text_layout_types.rs @@ -555,7 +555,7 @@ pub struct PlacedRow { /// This is rounded to the closest _pixel_ in order to produce crisp, pixel-perfect text. pub pos: Pos2, - /// The underlying row unpositioned [`Row`]. + /// The underlying unpositioned [`Row`]. pub row: Arc, }