File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -575,8 +575,9 @@ impl char {
575575 /// assert!(!'A'.is_lowercase());
576576 /// assert!(!'Δ'.is_lowercase());
577577 ///
578- /// // The various Chinese scripts do not have case, and so:
578+ /// // The various Chinese scripts and punctuation do not have case, and so:
579579 /// assert!(!'中'.is_lowercase());
580+ /// assert!(!' '.is_lowercase());
580581 /// ```
581582 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
582583 #[ inline]
@@ -606,8 +607,9 @@ impl char {
606607 /// assert!('A'.is_uppercase());
607608 /// assert!('Δ'.is_uppercase());
608609 ///
609- /// // The various Chinese scripts do not have case, and so:
610+ /// // The various Chinese scripts and punctuation do not have case, and so:
610611 /// assert!(!'中'.is_uppercase());
612+ /// assert!(!' '.is_uppercase());
611613 /// ```
612614 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
613615 #[ inline]
You can’t perform that action at this time.
0 commit comments