{"action":"created","comment":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/comments/38563581","id":38563581,"diff_hunk":"@@ -1842,6 +1850,19 @@ pure unittest\n     assert(array(rt4[]) == [\"hello\"]);\n }\n \n+unittest {\n+    import std.conv : to;\n+\n+    auto rt1 = redBlackTree!string();\n+    assert(rt1.to!string == \"RedBlackTree([])\");","path":"std/container/rbtree.d","position":37,"original_position":37,"commit_id":"9b26a723322753f7ca4ec88a63e06a440c62c821","original_commit_id":"9b26a723322753f7ca4ec88a63e06a440c62c821","user":{"login":"schveiguy","id":580778,"avatar_url":"https://avatars.githubusercontent.com/u/580778?v=3","gravatar_id":"","url":"https://api.github.com/users/schveiguy","html_url":"https://github.com/schveiguy","followers_url":"https://api.github.com/users/schveiguy/followers","following_url":"https://api.github.com/users/schveiguy/following{/other_user}","gists_url":"https://api.github.com/users/schveiguy/gists{/gist_id}","starred_url":"https://api.github.com/users/schveiguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schveiguy/subscriptions","organizations_url":"https://api.github.com/users/schveiguy/orgs","repos_url":"https://api.github.com/users/schveiguy/repos","events_url":"https://api.github.com/users/schveiguy/events{/privacy}","received_events_url":"https://api.github.com/users/schveiguy/received_events","type":"User","site_admin":false},"body":"Is there a way to avoid the extra brackets?","created_at":"2015-09-02T17:59:21Z","updated_at":"2015-09-02T17:59:21Z","html_url":"https://github.com/D-Programming-Language/phobos/pull/3572#discussion_r38563581","pull_request_url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3572","_links":{"self":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/comments/38563581"},"html":{"href":"https://github.com/D-Programming-Language/phobos/pull/3572#discussion_r38563581"},"pull_request":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3572"}}},"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3572","id":43105340,"html_url":"https://github.com/D-Programming-Language/phobos/pull/3572","diff_url":"https://github.com/D-Programming-Language/phobos/pull/3572.diff","patch_url":"https://github.com/D-Programming-Language/phobos/pull/3572.patch","issue_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3572","number":3572,"state":"open","locked":false,"title":"Fix Issue 5945: redBlackTree printing","user":{"login":"JackStouffer","id":680068,"avatar_url":"https://avatars.githubusercontent.com/u/680068?v=3","gravatar_id":"","url":"https://api.github.com/users/JackStouffer","html_url":"https://github.com/JackStouffer","followers_url":"https://api.github.com/users/JackStouffer/followers","following_url":"https://api.github.com/users/JackStouffer/following{/other_user}","gists_url":"https://api.github.com/users/JackStouffer/gists{/gist_id}","starred_url":"https://api.github.com/users/JackStouffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackStouffer/subscriptions","organizations_url":"https://api.github.com/users/JackStouffer/orgs","repos_url":"https://api.github.com/users/JackStouffer/repos","events_url":"https://api.github.com/users/JackStouffer/events{/privacy}","received_events_url":"https://api.github.com/users/JackStouffer/received_events","type":"User","site_admin":false},"body":"Low hanging fruit:\r\nhttps://issues.dlang.org/show_bug.cgi?id=5945\r\n\r\nMy solution is a little different than the original suggestion, as it isn't known if the redBlackTree factory function was used or not.","created_at":"2015-08-22T15:45:20Z","updated_at":"2015-09-02T17:59:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c054423a2e579dab64305d44834aab70dce19377","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3572/commits","review_comments_url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3572/comments","review_comment_url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3572/comments","statuses_url":"https://api.github.com/repos/D-Programming-Language/phobos/statuses/9b26a723322753f7ca4ec88a63e06a440c62c821","head":{"label":"JackStouffer:issue5945","ref":"issue5945","sha":"9b26a723322753f7ca4ec88a63e06a440c62c821","user":{"login":"JackStouffer","id":680068,"avatar_url":"https://avatars.githubusercontent.com/u/680068?v=3","gravatar_id":"","url":"https://api.github.com/users/JackStouffer","html_url":"https://github.com/JackStouffer","followers_url":"https://api.github.com/users/JackStouffer/followers","following_url":"https://api.github.com/users/JackStouffer/following{/other_user}","gists_url":"https://api.github.com/users/JackStouffer/gists{/gist_id}","starred_url":"https://api.github.com/users/JackStouffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackStouffer/subscriptions","organizations_url":"https://api.github.com/users/JackStouffer/orgs","repos_url":"https://api.github.com/users/JackStouffer/repos","events_url":"https://api.github.com/users/JackStouffer/events{/privacy}","received_events_url":"https://api.github.com/users/JackStouffer/received_events","type":"User","site_admin":false},"repo":{"id":41213554,"name":"phobos","full_name":"JackStouffer/phobos","owner":{"login":"JackStouffer","id":680068,"avatar_url":"https://avatars.githubusercontent.com/u/680068?v=3","gravatar_id":"","url":"https://api.github.com/users/JackStouffer","html_url":"https://github.com/JackStouffer","followers_url":"https://api.github.com/users/JackStouffer/followers","following_url":"https://api.github.com/users/JackStouffer/following{/other_user}","gists_url":"https://api.github.com/users/JackStouffer/gists{/gist_id}","starred_url":"https://api.github.com/users/JackStouffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackStouffer/subscriptions","organizations_url":"https://api.github.com/users/JackStouffer/orgs","repos_url":"https://api.github.com/users/JackStouffer/repos","events_url":"https://api.github.com/users/JackStouffer/events{/privacy}","received_events_url":"https://api.github.com/users/JackStouffer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JackStouffer/phobos","description":"The standard library of the D programming language","fork":true,"url":"https://api.github.com/repos/JackStouffer/phobos","forks_url":"https://api.github.com/repos/JackStouffer/phobos/forks","keys_url":"https://api.github.com/repos/JackStouffer/phobos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JackStouffer/phobos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JackStouffer/phobos/teams","hooks_url":"https://api.github.com/repos/JackStouffer/phobos/hooks","issue_events_url":"https://api.github.com/repos/JackStouffer/phobos/issues/events{/number}","events_url":"https://api.github.com/repos/JackStouffer/phobos/events","assignees_url":"https://api.github.com/repos/JackStouffer/phobos/assignees{/user}","branches_url":"https://api.github.com/repos/JackStouffer/phobos/branches{/branch}","tags_url":"https://api.github.com/repos/JackStouffer/phobos/tags","blobs_url":"https://api.github.com/repos/JackStouffer/phobos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JackStouffer/phobos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JackStouffer/phobos/git/refs{/sha}","trees_url":"https://api.github.com/repos/JackStouffer/phobos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JackStouffer/phobos/statuses/{sha}","languages_url":"https://api.github.com/repos/JackStouffer/phobos/languages","stargazers_url":"https://api.github.com/repos/JackStouffer/phobos/stargazers","contributors_url":"https://api.github.com/repos/JackStouffer/phobos/contributors","subscribers_url":"https://api.github.com/repos/JackStouffer/phobos/subscribers","subscription_url":"https://api.github.com/repos/JackStouffer/phobos/subscription","commits_url":"https://api.github.com/repos/JackStouffer/phobos/commits{/sha}","git_commits_url":"https://api.github.com/repos/JackStouffer/phobos/git/commits{/sha}","comments_url":"https://api.github.com/repos/JackStouffer/phobos/comments{/number}","issue_comment_url":"https://api.github.com/repos/JackStouffer/phobos/issues/comments{/number}","contents_url":"https://api.github.com/repos/JackStouffer/phobos/contents/{+path}","compare_url":"https://api.github.com/repos/JackStouffer/phobos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JackStouffer/phobos/merges","archive_url":"https://api.github.com/repos/JackStouffer/phobos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JackStouffer/phobos/downloads","issues_url":"https://api.github.com/repos/JackStouffer/phobos/issues{/number}","pulls_url":"https://api.github.com/repos/JackStouffer/phobos/pulls{/number}","milestones_url":"https://api.github.com/repos/JackStouffer/phobos/milestones{/number}","notifications_url":"https://api.github.com/repos/JackStouffer/phobos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JackStouffer/phobos/labels{/name}","releases_url":"https://api.github.com/repos/JackStouffer/phobos/releases{/id}","created_at":"2015-08-22T15:33:19Z","updated_at":"2015-08-22T15:33:21Z","pushed_at":"2015-09-02T17:00:19Z","git_url":"git://github.com/JackStouffer/phobos.git","ssh_url":"git@github.com:JackStouffer/phobos.git","clone_url":"https://github.com/JackStouffer/phobos.git","svn_url":"https://github.com/JackStouffer/phobos","homepage":"dlang.org/phobos","size":44496,"stargazers_count":0,"watchers_count":0,"language":"D","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"D-Programming-Language:master","ref":"master","sha":"531d986c6f19762f2ddca326519298d43b0c2c8e","user":{"login":"D-Programming-Language","id":565913,"avatar_url":"https://avatars.githubusercontent.com/u/565913?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Programming-Language","html_url":"https://github.com/D-Programming-Language","followers_url":"https://api.github.com/users/D-Programming-Language/followers","following_url":"https://api.github.com/users/D-Programming-Language/following{/other_user}","gists_url":"https://api.github.com/users/D-Programming-Language/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Programming-Language/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Programming-Language/subscriptions","organizations_url":"https://api.github.com/users/D-Programming-Language/orgs","repos_url":"https://api.github.com/users/D-Programming-Language/repos","events_url":"https://api.github.com/users/D-Programming-Language/events{/privacy}","received_events_url":"https://api.github.com/users/D-Programming-Language/received_events","type":"Organization","site_admin":false},"repo":{"id":1257084,"name":"phobos","full_name":"D-Programming-Language/phobos","owner":{"login":"D-Programming-Language","id":565913,"avatar_url":"https://avatars.githubusercontent.com/u/565913?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Programming-Language","html_url":"https://github.com/D-Programming-Language","followers_url":"https://api.github.com/users/D-Programming-Language/followers","following_url":"https://api.github.com/users/D-Programming-Language/following{/other_user}","gists_url":"https://api.github.com/users/D-Programming-Language/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Programming-Language/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Programming-Language/subscriptions","organizations_url":"https://api.github.com/users/D-Programming-Language/orgs","repos_url":"https://api.github.com/users/D-Programming-Language/repos","events_url":"https://api.github.com/users/D-Programming-Language/events{/privacy}","received_events_url":"https://api.github.com/users/D-Programming-Language/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/D-Programming-Language/phobos","description":"The standard library of the D programming language","fork":false,"url":"https://api.github.com/repos/D-Programming-Language/phobos","forks_url":"https://api.github.com/repos/D-Programming-Language/phobos/forks","keys_url":"https://api.github.com/repos/D-Programming-Language/phobos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/D-Programming-Language/phobos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/D-Programming-Language/phobos/teams","hooks_url":"https://api.github.com/repos/D-Programming-Language/phobos/hooks","issue_events_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/events{/number}","events_url":"https://api.github.com/repos/D-Programming-Language/phobos/events","assignees_url":"https://api.github.com/repos/D-Programming-Language/phobos/assignees{/user}","branches_url":"https://api.github.com/repos/D-Programming-Language/phobos/branches{/branch}","tags_url":"https://api.github.com/repos/D-Programming-Language/phobos/tags","blobs_url":"https://api.github.com/repos/D-Programming-Language/phobos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/D-Programming-Language/phobos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/D-Programming-Language/phobos/git/refs{/sha}","trees_url":"https://api.github.com/repos/D-Programming-Language/phobos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/D-Programming-Language/phobos/statuses/{sha}","languages_url":"https://api.github.com/repos/D-Programming-Language/phobos/languages","stargazers_url":"https://api.github.com/repos/D-Programming-Language/phobos/stargazers","contributors_url":"https://api.github.com/repos/D-Programming-Language/phobos/contributors","subscribers_url":"https://api.github.com/repos/D-Programming-Language/phobos/subscribers","subscription_url":"https://api.github.com/repos/D-Programming-Language/phobos/subscription","commits_url":"https://api.github.com/repos/D-Programming-Language/phobos/commits{/sha}","git_commits_url":"https://api.github.com/repos/D-Programming-Language/phobos/git/commits{/sha}","comments_url":"https://api.github.com/repos/D-Programming-Language/phobos/comments{/number}","issue_comment_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/comments{/number}","contents_url":"https://api.github.com/repos/D-Programming-Language/phobos/contents/{+path}","compare_url":"https://api.github.com/repos/D-Programming-Language/phobos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/D-Programming-Language/phobos/merges","archive_url":"https://api.github.com/repos/D-Programming-Language/phobos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/D-Programming-Language/phobos/downloads","issues_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues{/number}","pulls_url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls{/number}","milestones_url":"https://api.github.com/repos/D-Programming-Language/phobos/milestones{/number}","notifications_url":"https://api.github.com/repos/D-Programming-Language/phobos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/D-Programming-Language/phobos/labels{/name}","releases_url":"https://api.github.com/repos/D-Programming-Language/phobos/releases{/id}","created_at":"2011-01-15T07:00:06Z","updated_at":"2015-08-31T12:58:34Z","pushed_at":"2015-09-02T17:20:29Z","git_url":"git://github.com/D-Programming-Language/phobos.git","ssh_url":"git@github.com:D-Programming-Language/phobos.git","clone_url":"https://github.com/D-Programming-Language/phobos.git","svn_url":"https://github.com/D-Programming-Language/phobos","homepage":"dlang.org/phobos","size":89915,"stargazers_count":623,"watchers_count":623,"language":"D","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":422,"mirror_url":null,"open_issues_count":74,"forks":422,"open_issues":74,"watchers":623,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3572"},"html":{"href":"https://github.com/D-Programming-Language/phobos/pull/3572"},"issue":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3572"},"comments":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3572/comments"},"review_comments":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3572/comments"},"review_comment":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3572/commits"},"statuses":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/statuses/9b26a723322753f7ca4ec88a63e06a440c62c821"}}}}