File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1455,9 +1455,9 @@ pub trait StrExt: Index<RangeFull, Output = str> {
1455
1455
///
1456
1456
/// `is_cjk` determines behavior for characters in the Ambiguous category: if `is_cjk` is
1457
1457
/// `true`, these are 2 columns wide; otherwise, they are 1. In CJK locales, `is_cjk` should be
1458
- /// `true`, else it should be `false`. [Unicode Standard Annex
1459
- /// #11](http://www.unicode.org/reports/tr11/) recommends that these characters be treated as 1
1460
- /// column (i.e., `is_cjk` = ` false`) if the locale is unknown.
1458
+ /// `true`, else it should be `false`.
1459
+ /// [Unicode Standard Annex #11](http://www.unicode.org/reports/tr11/) recommends that these
1460
+ /// characters be treated as 1 column (i.e., `is_cjk = false`) if the locale is unknown.
1461
1461
#[ unstable( feature = "collections" ,
1462
1462
reason = "this functionality may only be provided by libunicode" ) ]
1463
1463
fn width ( & self , is_cjk : bool ) -> usize {
You can’t perform that action at this time.
0 commit comments