FIX - Char documentation for unexperienced users
This commit is contained in:
parent
692a26e8d7
commit
f5b49572dd
1 changed files with 4 additions and 2 deletions
|
|
@ -575,8 +575,9 @@ impl char {
|
|||
/// assert!(!'A'.is_lowercase());
|
||||
/// assert!(!'Δ'.is_lowercase());
|
||||
///
|
||||
/// // The various Chinese scripts do not have case, and so:
|
||||
/// // The various Chinese scripts and punctuation do not have case, and so:
|
||||
/// assert!(!'中'.is_lowercase());
|
||||
/// assert!(!' '.is_lowercase());
|
||||
/// ```
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[inline]
|
||||
|
|
@ -606,8 +607,9 @@ impl char {
|
|||
/// assert!('A'.is_uppercase());
|
||||
/// assert!('Δ'.is_uppercase());
|
||||
///
|
||||
/// // The various Chinese scripts do not have case, and so:
|
||||
/// // The various Chinese scripts and punctuation do not have case, and so:
|
||||
/// assert!(!'中'.is_uppercase());
|
||||
/// assert!(!' '.is_uppercase());
|
||||
/// ```
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[inline]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue