From e50a2d8f30376e43a6a3c9fde0a2fccdf36c81a2 Mon Sep 17 00:00:00 2001 From: correabuscar Date: Fri, 7 Jun 2024 13:04:05 +0200 Subject: [PATCH] comment typo unicode_segmentation -> unicode-width refers to the crate --- cursive-core/src/buffer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cursive-core/src/buffer.rs b/cursive-core/src/buffer.rs index eb555f56..a0e2585e 100644 --- a/cursive-core/src/buffer.rs +++ b/cursive-core/src/buffer.rs @@ -193,12 +193,12 @@ impl PrintBuffer { let width = g.width(); if width == 0 { // Any zero-width grapheme can be ignored. - // With unicode_segmentation < 0.1.13, this includes control chars. + // With unicode-width < 0.1.13, this includes control chars. continue; } if is_control_char(g) { - // With unicode_segmentation >= 0.1.13, control chars have non-zero width (in + // With unicode-width >= 0.1.13, control chars have non-zero width (in // practice width = 1). debug_assert_eq!( 1, width,