Skip to content

Commit

Permalink
Remove irrelevant comment from std.conv.to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JackStouffer authored Jul 27, 2016
1 parent 52b6945 commit 846aca3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions std/conv.d
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,8 @@ template to(T)
* If pointer is $(D char*), treat it as C-style strings.
* In that case, this function is $(D @system).))
*/
@system pure unittest
@system pure unittest // @system due to cast and ptr
{
// @system due to cast and ptr
// Conversion representing dynamic/static array with string
long[] a = [ 1, 3, 5 ];
assert(to!string(a) == "[1, 3, 5]");
Expand Down

0 comments on commit 846aca3

Please sign in to comment.