Skip to content

Commit

Permalink
Add proper docs for return type of sformat.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrejMitrovic committed Aug 22, 2013
1 parent 5c9aba0 commit c3d694e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions std/string.d
Expand Up @@ -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.
Expand Down Expand Up @@ -2295,9 +2295,9 @@ unittest


/*****************************************************
* Format arguments into string <i>s</i> which must be large
* Format arguments into buffer <i>buf</i> 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.
Expand Down

0 comments on commit c3d694e

Please sign in to comment.