mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 13:40:20 +03:00
Fixup based on feedback.
This commit is contained in:
parent
a5c729d660
commit
4194dfa1ce
1 changed files with 6 additions and 2 deletions
|
@ -201,6 +201,10 @@ unittest
|
|||
assert( isDigit('8'));
|
||||
assert(!isDigit('B'));
|
||||
assert(!isDigit('#'));
|
||||
|
||||
// N.B.: does not return true for non-ASCII Unicode numbers
|
||||
assert(!isDigit('0')); // full-width digit zero (U+FF10)
|
||||
assert(!isDigit('4')); // full-width digit four (U+FF14)
|
||||
}
|
||||
|
||||
unittest
|
||||
|
@ -491,8 +495,8 @@ unittest
|
|||
/++
|
||||
Converts an ASCII letter to lowercase.
|
||||
|
||||
Params: c = Any type which implicitly converts to $(D dchar). In the case
|
||||
where it's a built-in type, or an enum of a built-in type,
|
||||
Params: c = A character of any type that implicitly converts to $(D dchar).
|
||||
In the case where it's a built-in type, or an enum of a built-in type,
|
||||
$(D Unqual!(OriginalType!C)) is returned, whereas if it's a user-defined
|
||||
type, $(D dchar) is returned.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue