{"action":"opened","number":87,"pull_request":{"url":"https://api.github.com/repos/Geal/nom/pulls/87","id":44829133,"html_url":"https://github.com/Geal/nom/pull/87","diff_url":"https://github.com/Geal/nom/pull/87.diff","patch_url":"https://github.com/Geal/nom/pull/87.patch","issue_url":"https://api.github.com/repos/Geal/nom/issues/87","number":87,"state":"open","locked":false,"title":"Clippy changes","user":{"login":"daboross","id":1152146,"avatar_url":"https://avatars.githubusercontent.com/u/1152146?v=3","gravatar_id":"","url":"https://api.github.com/users/daboross","html_url":"https://github.com/daboross","followers_url":"https://api.github.com/users/daboross/followers","following_url":"https://api.github.com/users/daboross/following{/other_user}","gists_url":"https://api.github.com/users/daboross/gists{/gist_id}","starred_url":"https://api.github.com/users/daboross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daboross/subscriptions","organizations_url":"https://api.github.com/users/daboross/orgs","repos_url":"https://api.github.com/users/daboross/repos","events_url":"https://api.github.com/users/daboross/events{/privacy}","received_events_url":"https://api.github.com/users/daboross/received_events","type":"User","site_admin":false},"body":"These are changes recommended by clippy, found using the `cargo-clippy` tool on test files, as follows:\r\n```\r\ncargo clippy --test arithmetic\r\ncargo clippy --test ini\r\ncargo clippy --test issues\r\ncargo clippy --test mp4\r\ncargo clippy --test omnom\r\ncargo clippy --test test1\r\n```\r\n\r\nThis produces more changes to merge then just running clippy on the library, because the macros are used in the tests.\r\n\r\nEach commit has a separate type of change. I don't really know the style of this repository that well, so feel free to use any individual commit without the other ones in this PR.","created_at":"2015-09-11T21:06:43Z","updated_at":"2015-09-11T21:06:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Geal/nom/pulls/87/commits","review_comments_url":"https://api.github.com/repos/Geal/nom/pulls/87/comments","review_comment_url":"https://api.github.com/repos/Geal/nom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Geal/nom/issues/87/comments","statuses_url":"https://api.github.com/repos/Geal/nom/statuses/d4386eb158f9e85ee3c1a8109e298202aa24bb84","head":{"label":"daboross:clippy-changes","ref":"clippy-changes","sha":"d4386eb158f9e85ee3c1a8109e298202aa24bb84","user":{"login":"daboross","id":1152146,"avatar_url":"https://avatars.githubusercontent.com/u/1152146?v=3","gravatar_id":"","url":"https://api.github.com/users/daboross","html_url":"https://github.com/daboross","followers_url":"https://api.github.com/users/daboross/followers","following_url":"https://api.github.com/users/daboross/following{/other_user}","gists_url":"https://api.github.com/users/daboross/gists{/gist_id}","starred_url":"https://api.github.com/users/daboross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daboross/subscriptions","organizations_url":"https://api.github.com/users/daboross/orgs","repos_url":"https://api.github.com/users/daboross/repos","events_url":"https://api.github.com/users/daboross/events{/privacy}","received_events_url":"https://api.github.com/users/daboross/received_events","type":"User","site_admin":false},"repo":{"id":42076395,"name":"nom","full_name":"daboross/nom","owner":{"login":"daboross","id":1152146,"avatar_url":"https://avatars.githubusercontent.com/u/1152146?v=3","gravatar_id":"","url":"https://api.github.com/users/daboross","html_url":"https://github.com/daboross","followers_url":"https://api.github.com/users/daboross/followers","following_url":"https://api.github.com/users/daboross/following{/other_user}","gists_url":"https://api.github.com/users/daboross/gists{/gist_id}","starred_url":"https://api.github.com/users/daboross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daboross/subscriptions","organizations_url":"https://api.github.com/users/daboross/orgs","repos_url":"https://api.github.com/users/daboross/repos","events_url":"https://api.github.com/users/daboross/events{/privacy}","received_events_url":"https://api.github.com/users/daboross/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/daboross/nom","description":"Rust parser combinator framework","fork":true,"url":"https://api.github.com/repos/daboross/nom","forks_url":"https://api.github.com/repos/daboross/nom/forks","keys_url":"https://api.github.com/repos/daboross/nom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/daboross/nom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/daboross/nom/teams","hooks_url":"https://api.github.com/repos/daboross/nom/hooks","issue_events_url":"https://api.github.com/repos/daboross/nom/issues/events{/number}","events_url":"https://api.github.com/repos/daboross/nom/events","assignees_url":"https://api.github.com/repos/daboross/nom/assignees{/user}","branches_url":"https://api.github.com/repos/daboross/nom/branches{/branch}","tags_url":"https://api.github.com/repos/daboross/nom/tags","blobs_url":"https://api.github.com/repos/daboross/nom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/daboross/nom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/daboross/nom/git/refs{/sha}","trees_url":"https://api.github.com/repos/daboross/nom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/daboross/nom/statuses/{sha}","languages_url":"https://api.github.com/repos/daboross/nom/languages","stargazers_url":"https://api.github.com/repos/daboross/nom/stargazers","contributors_url":"https://api.github.com/repos/daboross/nom/contributors","subscribers_url":"https://api.github.com/repos/daboross/nom/subscribers","subscription_url":"https://api.github.com/repos/daboross/nom/subscription","commits_url":"https://api.github.com/repos/daboross/nom/commits{/sha}","git_commits_url":"https://api.github.com/repos/daboross/nom/git/commits{/sha}","comments_url":"https://api.github.com/repos/daboross/nom/comments{/number}","issue_comment_url":"https://api.github.com/repos/daboross/nom/issues/comments{/number}","contents_url":"https://api.github.com/repos/daboross/nom/contents/{+path}","compare_url":"https://api.github.com/repos/daboross/nom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/daboross/nom/merges","archive_url":"https://api.github.com/repos/daboross/nom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/daboross/nom/downloads","issues_url":"https://api.github.com/repos/daboross/nom/issues{/number}","pulls_url":"https://api.github.com/repos/daboross/nom/pulls{/number}","milestones_url":"https://api.github.com/repos/daboross/nom/milestones{/number}","notifications_url":"https://api.github.com/repos/daboross/nom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/daboross/nom/labels{/name}","releases_url":"https://api.github.com/repos/daboross/nom/releases{/id}","created_at":"2015-09-07T21:58:52Z","updated_at":"2015-09-07T21:58:53Z","pushed_at":"2015-09-11T21:03:00Z","git_url":"git://github.com/daboross/nom.git","ssh_url":"git@github.com:daboross/nom.git","clone_url":"https://github.com/daboross/nom.git","svn_url":"https://github.com/daboross/nom","homepage":"","size":1391,"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":"Geal:master","ref":"master","sha":"5fb0d131f690ac62f642844ba880cb0d8da29c8c","user":{"login":"Geal","id":119296,"avatar_url":"https://avatars.githubusercontent.com/u/119296?v=3","gravatar_id":"","url":"https://api.github.com/users/Geal","html_url":"https://github.com/Geal","followers_url":"https://api.github.com/users/Geal/followers","following_url":"https://api.github.com/users/Geal/following{/other_user}","gists_url":"https://api.github.com/users/Geal/gists{/gist_id}","starred_url":"https://api.github.com/users/Geal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Geal/subscriptions","organizations_url":"https://api.github.com/users/Geal/orgs","repos_url":"https://api.github.com/users/Geal/repos","events_url":"https://api.github.com/users/Geal/events{/privacy}","received_events_url":"https://api.github.com/users/Geal/received_events","type":"User","site_admin":false},"repo":{"id":27029984,"name":"nom","full_name":"Geal/nom","owner":{"login":"Geal","id":119296,"avatar_url":"https://avatars.githubusercontent.com/u/119296?v=3","gravatar_id":"","url":"https://api.github.com/users/Geal","html_url":"https://github.com/Geal","followers_url":"https://api.github.com/users/Geal/followers","following_url":"https://api.github.com/users/Geal/following{/other_user}","gists_url":"https://api.github.com/users/Geal/gists{/gist_id}","starred_url":"https://api.github.com/users/Geal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Geal/subscriptions","organizations_url":"https://api.github.com/users/Geal/orgs","repos_url":"https://api.github.com/users/Geal/repos","events_url":"https://api.github.com/users/Geal/events{/privacy}","received_events_url":"https://api.github.com/users/Geal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Geal/nom","description":"Rust parser combinator framework","fork":false,"url":"https://api.github.com/repos/Geal/nom","forks_url":"https://api.github.com/repos/Geal/nom/forks","keys_url":"https://api.github.com/repos/Geal/nom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Geal/nom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Geal/nom/teams","hooks_url":"https://api.github.com/repos/Geal/nom/hooks","issue_events_url":"https://api.github.com/repos/Geal/nom/issues/events{/number}","events_url":"https://api.github.com/repos/Geal/nom/events","assignees_url":"https://api.github.com/repos/Geal/nom/assignees{/user}","branches_url":"https://api.github.com/repos/Geal/nom/branches{/branch}","tags_url":"https://api.github.com/repos/Geal/nom/tags","blobs_url":"https://api.github.com/repos/Geal/nom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Geal/nom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Geal/nom/git/refs{/sha}","trees_url":"https://api.github.com/repos/Geal/nom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Geal/nom/statuses/{sha}","languages_url":"https://api.github.com/repos/Geal/nom/languages","stargazers_url":"https://api.github.com/repos/Geal/nom/stargazers","contributors_url":"https://api.github.com/repos/Geal/nom/contributors","subscribers_url":"https://api.github.com/repos/Geal/nom/subscribers","subscription_url":"https://api.github.com/repos/Geal/nom/subscription","commits_url":"https://api.github.com/repos/Geal/nom/commits{/sha}","git_commits_url":"https://api.github.com/repos/Geal/nom/git/commits{/sha}","comments_url":"https://api.github.com/repos/Geal/nom/comments{/number}","issue_comment_url":"https://api.github.com/repos/Geal/nom/issues/comments{/number}","contents_url":"https://api.github.com/repos/Geal/nom/contents/{+path}","compare_url":"https://api.github.com/repos/Geal/nom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Geal/nom/merges","archive_url":"https://api.github.com/repos/Geal/nom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Geal/nom/downloads","issues_url":"https://api.github.com/repos/Geal/nom/issues{/number}","pulls_url":"https://api.github.com/repos/Geal/nom/pulls{/number}","milestones_url":"https://api.github.com/repos/Geal/nom/milestones{/number}","notifications_url":"https://api.github.com/repos/Geal/nom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Geal/nom/labels{/name}","releases_url":"https://api.github.com/repos/Geal/nom/releases{/id}","created_at":"2014-11-23T11:16:23Z","updated_at":"2015-09-10T02:59:52Z","pushed_at":"2015-09-09T14:58:39Z","git_url":"git://github.com/Geal/nom.git","ssh_url":"git@github.com:Geal/nom.git","clone_url":"https://github.com/Geal/nom.git","svn_url":"https://github.com/Geal/nom","homepage":"","size":1391,"stargazers_count":388,"watchers_count":388,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":18,"forks":28,"open_issues":18,"watchers":388,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Geal/nom/pulls/87"},"html":{"href":"https://github.com/Geal/nom/pull/87"},"issue":{"href":"https://api.github.com/repos/Geal/nom/issues/87"},"comments":{"href":"https://api.github.com/repos/Geal/nom/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/Geal/nom/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/Geal/nom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Geal/nom/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/Geal/nom/statuses/d4386eb158f9e85ee3c1a8109e298202aa24bb84"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":31,"deletions":22,"changed_files":5}}