File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -575,8 +575,9 @@ impl char {
575
575
/// assert!(!'A'.is_lowercase());
576
576
/// assert!(!'Δ'.is_lowercase());
577
577
///
578
- /// // The various Chinese scripts do not have case, and so:
578
+ /// // The various Chinese scripts and punctuation do not have case, and so:
579
579
/// assert!(!'中'.is_lowercase());
580
+ /// assert!(!' '.is_lowercase());
580
581
/// ```
581
582
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
582
583
#[ inline]
@@ -606,8 +607,9 @@ impl char {
606
607
/// assert!('A'.is_uppercase());
607
608
/// assert!('Δ'.is_uppercase());
608
609
///
609
- /// // The various Chinese scripts do not have case, and so:
610
+ /// // The various Chinese scripts and punctuation do not have case, and so:
610
611
/// assert!(!'中'.is_uppercase());
612
+ /// assert!(!' '.is_uppercase());
611
613
/// ```
612
614
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
613
615
#[ inline]
You can’t perform that action at this time.
0 commit comments