fix phrasing in ansi_width function docstring

This commit is contained in:
Terts Diepraam
2023-11-08 13:58:29 +01:00
parent b74484590b
commit f08262231a
+1 -1
View File
@@ -5,7 +5,7 @@ const ESC: char = '\x1b';
/// Calculate the width of a string.
///
/// The the [crate documentation](crate) for more information.
/// See the [crate documentation](crate) for more information.
pub fn ansi_width(s: &str) -> usize {
let mut width = 0;
let mut chars = s.chars();