From 13664ef86edda190834d924a06e4334d313a3d59 Mon Sep 17 00:00:00 2001 From: Imbris Date: Fri, 25 Aug 2023 21:17:56 -0400 Subject: [PATCH] Comment typo fix --- src/shape.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/shape.rs b/src/shape.rs index ffcbde8..3f4642c 100644 --- a/src/shape.rs +++ b/src/shape.rs @@ -966,8 +966,8 @@ impl ShapeLine { // wrapping results. if current_visual_line.w + (word_range_width + word_width) <= line_width - // Include on blank word over the width limit since it won't be counted - // in the final width + // Include one blank word over the width limit since it won't be + // counted in the final width || (word.blank && (current_visual_line.w + word_range_width) <= line_width) { @@ -1066,8 +1066,8 @@ impl ShapeLine { let word_width = font_size * word.x_advance; if current_visual_line.w + (word_range_width + word_width) <= line_width - // Include on blank word over the width limit since it won't be counted - // in the final width. + // Include one blank word over the width limit since it won't be + // counted in the final width. || (word.blank && (current_visual_line.w + word_range_width) <= line_width) {