Skip to content

Commit

Permalink
Merge pull request #4670 from JackStouffer/patch-16
Browse files Browse the repository at this point in the history
[trivial] Remove irrelevant comment from std.conv.to docs
  • Loading branch information
jmdavis authored Jul 27, 2016
2 parents 52b6945 + 846aca3 commit 02d8005
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 02d8005

Please sign in to comment.