{"action":"opened","number":168,"pull_request":{"url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/pulls/168","id":92513939,"html_url":"https://github.com/rust-lang-nursery/rustc-serialize/pull/168","diff_url":"https://github.com/rust-lang-nursery/rustc-serialize/pull/168.diff","patch_url":"https://github.com/rust-lang-nursery/rustc-serialize/pull/168.patch","issue_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/issues/168","number":168,"state":"open","locked":false,"title":"Implement serialization of [T; 0]","user":{"login":"bluss","id":3209739,"avatar_url":"https://avatars.githubusercontent.com/u/3209739?v=3","gravatar_id":"","url":"https://api.github.com/users/bluss","html_url":"https://github.com/bluss","followers_url":"https://api.github.com/users/bluss/followers","following_url":"https://api.github.com/users/bluss/following{/other_user}","gists_url":"https://api.github.com/users/bluss/gists{/gist_id}","starred_url":"https://api.github.com/users/bluss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluss/subscriptions","organizations_url":"https://api.github.com/users/bluss/orgs","repos_url":"https://api.github.com/users/bluss/repos","events_url":"https://api.github.com/users/bluss/events{/privacy}","received_events_url":"https://api.github.com/users/bluss/received_events","type":"User","site_admin":false},"body":"I ran into this when migrating from `(), (usize, ), (usize, usize)` and so on to fixed size arrays. The generic code ends up using `[usize; 0]` as its smallest case.\r\n\r\nThe [T; 0] case could be implemented without trait bound for T, but it didn't seem to really matter, symmetry with the other array cases seems good.","created_at":"2016-11-07T02:03:14Z","updated_at":"2016-11-07T02:03:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/pulls/168/commits","review_comments_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/pulls/168/comments","review_comment_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/issues/168/comments","statuses_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/statuses/db7befdb72466115342f732202b76ec3f18f25af","head":{"label":"bluss:serialize-array-0","ref":"serialize-array-0","sha":"db7befdb72466115342f732202b76ec3f18f25af","user":{"login":"bluss","id":3209739,"avatar_url":"https://avatars.githubusercontent.com/u/3209739?v=3","gravatar_id":"","url":"https://api.github.com/users/bluss","html_url":"https://github.com/bluss","followers_url":"https://api.github.com/users/bluss/followers","following_url":"https://api.github.com/users/bluss/following{/other_user}","gists_url":"https://api.github.com/users/bluss/gists{/gist_id}","starred_url":"https://api.github.com/users/bluss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluss/subscriptions","organizations_url":"https://api.github.com/users/bluss/orgs","repos_url":"https://api.github.com/users/bluss/repos","events_url":"https://api.github.com/users/bluss/events{/privacy}","received_events_url":"https://api.github.com/users/bluss/received_events","type":"User","site_admin":false},"repo":{"id":73032833,"name":"rustc-serialize","full_name":"bluss/rustc-serialize","owner":{"login":"bluss","id":3209739,"avatar_url":"https://avatars.githubusercontent.com/u/3209739?v=3","gravatar_id":"","url":"https://api.github.com/users/bluss","html_url":"https://github.com/bluss","followers_url":"https://api.github.com/users/bluss/followers","following_url":"https://api.github.com/users/bluss/following{/other_user}","gists_url":"https://api.github.com/users/bluss/gists{/gist_id}","starred_url":"https://api.github.com/users/bluss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluss/subscriptions","organizations_url":"https://api.github.com/users/bluss/orgs","repos_url":"https://api.github.com/users/bluss/repos","events_url":"https://api.github.com/users/bluss/events{/privacy}","received_events_url":"https://api.github.com/users/bluss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bluss/rustc-serialize","description":"Serialization/deserialization for Rust","fork":true,"url":"https://api.github.com/repos/bluss/rustc-serialize","forks_url":"https://api.github.com/repos/bluss/rustc-serialize/forks","keys_url":"https://api.github.com/repos/bluss/rustc-serialize/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bluss/rustc-serialize/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bluss/rustc-serialize/teams","hooks_url":"https://api.github.com/repos/bluss/rustc-serialize/hooks","issue_events_url":"https://api.github.com/repos/bluss/rustc-serialize/issues/events{/number}","events_url":"https://api.github.com/repos/bluss/rustc-serialize/events","assignees_url":"https://api.github.com/repos/bluss/rustc-serialize/assignees{/user}","branches_url":"https://api.github.com/repos/bluss/rustc-serialize/branches{/branch}","tags_url":"https://api.github.com/repos/bluss/rustc-serialize/tags","blobs_url":"https://api.github.com/repos/bluss/rustc-serialize/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bluss/rustc-serialize/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bluss/rustc-serialize/git/refs{/sha}","trees_url":"https://api.github.com/repos/bluss/rustc-serialize/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bluss/rustc-serialize/statuses/{sha}","languages_url":"https://api.github.com/repos/bluss/rustc-serialize/languages","stargazers_url":"https://api.github.com/repos/bluss/rustc-serialize/stargazers","contributors_url":"https://api.github.com/repos/bluss/rustc-serialize/contributors","subscribers_url":"https://api.github.com/repos/bluss/rustc-serialize/subscribers","subscription_url":"https://api.github.com/repos/bluss/rustc-serialize/subscription","commits_url":"https://api.github.com/repos/bluss/rustc-serialize/commits{/sha}","git_commits_url":"https://api.github.com/repos/bluss/rustc-serialize/git/commits{/sha}","comments_url":"https://api.github.com/repos/bluss/rustc-serialize/comments{/number}","issue_comment_url":"https://api.github.com/repos/bluss/rustc-serialize/issues/comments{/number}","contents_url":"https://api.github.com/repos/bluss/rustc-serialize/contents/{+path}","compare_url":"https://api.github.com/repos/bluss/rustc-serialize/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bluss/rustc-serialize/merges","archive_url":"https://api.github.com/repos/bluss/rustc-serialize/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bluss/rustc-serialize/downloads","issues_url":"https://api.github.com/repos/bluss/rustc-serialize/issues{/number}","pulls_url":"https://api.github.com/repos/bluss/rustc-serialize/pulls{/number}","milestones_url":"https://api.github.com/repos/bluss/rustc-serialize/milestones{/number}","notifications_url":"https://api.github.com/repos/bluss/rustc-serialize/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bluss/rustc-serialize/labels{/name}","releases_url":"https://api.github.com/repos/bluss/rustc-serialize/releases{/id}","deployments_url":"https://api.github.com/repos/bluss/rustc-serialize/deployments","created_at":"2016-11-07T01:52:53Z","updated_at":"2016-11-07T01:52:54Z","pushed_at":"2016-11-07T02:01:06Z","git_url":"git://github.com/bluss/rustc-serialize.git","ssh_url":"git@github.com:bluss/rustc-serialize.git","clone_url":"https://github.com/bluss/rustc-serialize.git","svn_url":"https://github.com/bluss/rustc-serialize","homepage":null,"size":1585,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"rust-lang-nursery:master","ref":"master","sha":"a9fede98d54bc380732f47bb3513d333ee043d17","user":{"login":"rust-lang-nursery","id":14631425,"avatar_url":"https://avatars.githubusercontent.com/u/14631425?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang-nursery","html_url":"https://github.com/rust-lang-nursery","followers_url":"https://api.github.com/users/rust-lang-nursery/followers","following_url":"https://api.github.com/users/rust-lang-nursery/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang-nursery/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang-nursery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang-nursery/subscriptions","organizations_url":"https://api.github.com/users/rust-lang-nursery/orgs","repos_url":"https://api.github.com/users/rust-lang-nursery/repos","events_url":"https://api.github.com/users/rust-lang-nursery/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang-nursery/received_events","type":"Organization","site_admin":false},"repo":{"id":27885612,"name":"rustc-serialize","full_name":"rust-lang-nursery/rustc-serialize","owner":{"login":"rust-lang-nursery","id":14631425,"avatar_url":"https://avatars.githubusercontent.com/u/14631425?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang-nursery","html_url":"https://github.com/rust-lang-nursery","followers_url":"https://api.github.com/users/rust-lang-nursery/followers","following_url":"https://api.github.com/users/rust-lang-nursery/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang-nursery/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang-nursery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang-nursery/subscriptions","organizations_url":"https://api.github.com/users/rust-lang-nursery/orgs","repos_url":"https://api.github.com/users/rust-lang-nursery/repos","events_url":"https://api.github.com/users/rust-lang-nursery/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang-nursery/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rust-lang-nursery/rustc-serialize","description":"Serialization/deserialization for Rust","fork":false,"url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize","forks_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/forks","keys_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/teams","hooks_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/hooks","issue_events_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/events","assignees_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/tags","blobs_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/languages","stargazers_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/stargazers","contributors_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/contributors","subscribers_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/subscribers","subscription_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/subscription","commits_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/merges","archive_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/downloads","issues_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/releases{/id}","deployments_url":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/deployments","created_at":"2014-12-11T18:32:44Z","updated_at":"2016-11-06T21:07:27Z","pushed_at":"2016-10-25T19:40:04Z","git_url":"git://github.com/rust-lang-nursery/rustc-serialize.git","ssh_url":"git@github.com:rust-lang-nursery/rustc-serialize.git","clone_url":"https://github.com/rust-lang-nursery/rustc-serialize.git","svn_url":"https://github.com/rust-lang-nursery/rustc-serialize","homepage":null,"size":1585,"stargazers_count":142,"watchers_count":142,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":97,"mirror_url":null,"open_issues_count":39,"forks":97,"open_issues":39,"watchers":142,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/pulls/168"},"html":{"href":"https://github.com/rust-lang-nursery/rustc-serialize/pull/168"},"issue":{"href":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/issues/168"},"comments":{"href":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/issues/168/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/pulls/168/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/pulls/168/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang-nursery/rustc-serialize/statuses/db7befdb72466115342f732202b76ec3f18f25af"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":5,"changed_files":1}}
{"actor":{"display_login":"bluss"}}