diff --git a/std/string.d b/std/string.d index 7d6badad05b..2c32ff9d796 100644 --- a/std/string.d +++ b/std/string.d @@ -994,7 +994,7 @@ unittest +/ alias toLower = std.uni.toLower; /++ - Converts $(D s) to lowercase (by performing Unicode lowercase mapping) in place. + Converts $(D s) to lowercase (by performing Unicode lowercase mapping) in place. For a few characters string length may increase after the transformation, in such a case the function reallocates exactly once. If $(D s) does not have any uppercase characters, then $(D s) is unaltered. @@ -2295,9 +2295,9 @@ unittest /***************************************************** - * Format arguments into string s which must be large + * Format arguments into buffer buf which must be large * enough to hold the result. Throws RangeError if it is not. - * Returns: s + * Returns: The slice of $(D buf) containing the formatted string. * * $(RED sformat's current implementation has been replaced with $(LREF xsformat)'s * implementation. in November 2012.