Fixup based on feedback.

This commit is contained in:
H. S. Teoh 2015-03-18 16:12:37 -07:00
parent a5c729d660
commit 4194dfa1ce

View file

@ -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('')); // full-width digit zero (U+FF10)
assert(!isDigit('')); // 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.