{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/llogiq/path-tracer/pulls/1","id":36380443,"html_url":"https://github.com/llogiq/path-tracer/pull/1","diff_url":"https://github.com/llogiq/path-tracer/pull/1.diff","patch_url":"https://github.com/llogiq/path-tracer/pull/1.patch","issue_url":"https://api.github.com/repos/llogiq/path-tracer/issues/1","number":1,"state":"open","locked":false,"title":"Small refactoring","user":{"login":"llogiq","id":4200835,"avatar_url":"https://avatars.githubusercontent.com/u/4200835?v=3","gravatar_id":"","url":"https://api.github.com/users/llogiq","html_url":"https://github.com/llogiq","followers_url":"https://api.github.com/users/llogiq/followers","following_url":"https://api.github.com/users/llogiq/following{/other_user}","gists_url":"https://api.github.com/users/llogiq/gists{/gist_id}","starred_url":"https://api.github.com/users/llogiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llogiq/subscriptions","organizations_url":"https://api.github.com/users/llogiq/orgs","repos_url":"https://api.github.com/users/llogiq/repos","events_url":"https://api.github.com/users/llogiq/events{/privacy}","received_events_url":"https://api.github.com/users/llogiq/received_events","type":"User","site_admin":false},"body":"Using another instance of `map_or` instead of `if let` (saving a few LOC, also moving the \"else\" case up so it's not hidden behind a wall of code), also removing a needless `if … { true } else { false }`.","created_at":"2015-05-28T07:55:44Z","updated_at":"2015-05-28T07:55:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/llogiq/path-tracer/pulls/1/commits","review_comments_url":"https://api.github.com/repos/llogiq/path-tracer/pulls/1/comments","review_comment_url":"https://api.github.com/repos/llogiq/path-tracer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/llogiq/path-tracer/issues/1/comments","statuses_url":"https://api.github.com/repos/llogiq/path-tracer/statuses/3cfa98935c1e69de08f64c4277b0f98b49443b9e","head":{"label":"llogiq:refactoring","ref":"refactoring","sha":"3cfa98935c1e69de08f64c4277b0f98b49443b9e","user":{"login":"llogiq","id":4200835,"avatar_url":"https://avatars.githubusercontent.com/u/4200835?v=3","gravatar_id":"","url":"https://api.github.com/users/llogiq","html_url":"https://github.com/llogiq","followers_url":"https://api.github.com/users/llogiq/followers","following_url":"https://api.github.com/users/llogiq/following{/other_user}","gists_url":"https://api.github.com/users/llogiq/gists{/gist_id}","starred_url":"https://api.github.com/users/llogiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llogiq/subscriptions","organizations_url":"https://api.github.com/users/llogiq/orgs","repos_url":"https://api.github.com/users/llogiq/repos","events_url":"https://api.github.com/users/llogiq/events{/privacy}","received_events_url":"https://api.github.com/users/llogiq/received_events","type":"User","site_admin":false},"repo":{"id":36423075,"name":"path-tracer","full_name":"llogiq/path-tracer","owner":{"login":"llogiq","id":4200835,"avatar_url":"https://avatars.githubusercontent.com/u/4200835?v=3","gravatar_id":"","url":"https://api.github.com/users/llogiq","html_url":"https://github.com/llogiq","followers_url":"https://api.github.com/users/llogiq/followers","following_url":"https://api.github.com/users/llogiq/following{/other_user}","gists_url":"https://api.github.com/users/llogiq/gists{/gist_id}","starred_url":"https://api.github.com/users/llogiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llogiq/subscriptions","organizations_url":"https://api.github.com/users/llogiq/orgs","repos_url":"https://api.github.com/users/llogiq/repos","events_url":"https://api.github.com/users/llogiq/events{/privacy}","received_events_url":"https://api.github.com/users/llogiq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/llogiq/path-tracer","description":"A path tracer in rust","fork":true,"url":"https://api.github.com/repos/llogiq/path-tracer","forks_url":"https://api.github.com/repos/llogiq/path-tracer/forks","keys_url":"https://api.github.com/repos/llogiq/path-tracer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/llogiq/path-tracer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/llogiq/path-tracer/teams","hooks_url":"https://api.github.com/repos/llogiq/path-tracer/hooks","issue_events_url":"https://api.github.com/repos/llogiq/path-tracer/issues/events{/number}","events_url":"https://api.github.com/repos/llogiq/path-tracer/events","assignees_url":"https://api.github.com/repos/llogiq/path-tracer/assignees{/user}","branches_url":"https://api.github.com/repos/llogiq/path-tracer/branches{/branch}","tags_url":"https://api.github.com/repos/llogiq/path-tracer/tags","blobs_url":"https://api.github.com/repos/llogiq/path-tracer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/llogiq/path-tracer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/llogiq/path-tracer/git/refs{/sha}","trees_url":"https://api.github.com/repos/llogiq/path-tracer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/llogiq/path-tracer/statuses/{sha}","languages_url":"https://api.github.com/repos/llogiq/path-tracer/languages","stargazers_url":"https://api.github.com/repos/llogiq/path-tracer/stargazers","contributors_url":"https://api.github.com/repos/llogiq/path-tracer/contributors","subscribers_url":"https://api.github.com/repos/llogiq/path-tracer/subscribers","subscription_url":"https://api.github.com/repos/llogiq/path-tracer/subscription","commits_url":"https://api.github.com/repos/llogiq/path-tracer/commits{/sha}","git_commits_url":"https://api.github.com/repos/llogiq/path-tracer/git/commits{/sha}","comments_url":"https://api.github.com/repos/llogiq/path-tracer/comments{/number}","issue_comment_url":"https://api.github.com/repos/llogiq/path-tracer/issues/comments{/number}","contents_url":"https://api.github.com/repos/llogiq/path-tracer/contents/{+path}","compare_url":"https://api.github.com/repos/llogiq/path-tracer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/llogiq/path-tracer/merges","archive_url":"https://api.github.com/repos/llogiq/path-tracer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/llogiq/path-tracer/downloads","issues_url":"https://api.github.com/repos/llogiq/path-tracer/issues{/number}","pulls_url":"https://api.github.com/repos/llogiq/path-tracer/pulls{/number}","milestones_url":"https://api.github.com/repos/llogiq/path-tracer/milestones{/number}","notifications_url":"https://api.github.com/repos/llogiq/path-tracer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/llogiq/path-tracer/labels{/name}","releases_url":"https://api.github.com/repos/llogiq/path-tracer/releases{/id}","created_at":"2015-05-28T07:50:00Z","updated_at":"2015-05-28T07:50:02Z","pushed_at":"2015-05-28T07:55:38Z","git_url":"git://github.com/llogiq/path-tracer.git","ssh_url":"git@github.com:llogiq/path-tracer.git","clone_url":"https://github.com/llogiq/path-tracer.git","svn_url":"https://github.com/llogiq/path-tracer","homepage":null,"size":159,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"llogiq:master","ref":"master","sha":"157fac08e15ac300cf37aabd91ba2957b2edf5b2","user":{"login":"llogiq","id":4200835,"avatar_url":"https://avatars.githubusercontent.com/u/4200835?v=3","gravatar_id":"","url":"https://api.github.com/users/llogiq","html_url":"https://github.com/llogiq","followers_url":"https://api.github.com/users/llogiq/followers","following_url":"https://api.github.com/users/llogiq/following{/other_user}","gists_url":"https://api.github.com/users/llogiq/gists{/gist_id}","starred_url":"https://api.github.com/users/llogiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llogiq/subscriptions","organizations_url":"https://api.github.com/users/llogiq/orgs","repos_url":"https://api.github.com/users/llogiq/repos","events_url":"https://api.github.com/users/llogiq/events{/privacy}","received_events_url":"https://api.github.com/users/llogiq/received_events","type":"User","site_admin":false},"repo":{"id":36423075,"name":"path-tracer","full_name":"llogiq/path-tracer","owner":{"login":"llogiq","id":4200835,"avatar_url":"https://avatars.githubusercontent.com/u/4200835?v=3","gravatar_id":"","url":"https://api.github.com/users/llogiq","html_url":"https://github.com/llogiq","followers_url":"https://api.github.com/users/llogiq/followers","following_url":"https://api.github.com/users/llogiq/following{/other_user}","gists_url":"https://api.github.com/users/llogiq/gists{/gist_id}","starred_url":"https://api.github.com/users/llogiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llogiq/subscriptions","organizations_url":"https://api.github.com/users/llogiq/orgs","repos_url":"https://api.github.com/users/llogiq/repos","events_url":"https://api.github.com/users/llogiq/events{/privacy}","received_events_url":"https://api.github.com/users/llogiq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/llogiq/path-tracer","description":"A path tracer in rust","fork":true,"url":"https://api.github.com/repos/llogiq/path-tracer","forks_url":"https://api.github.com/repos/llogiq/path-tracer/forks","keys_url":"https://api.github.com/repos/llogiq/path-tracer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/llogiq/path-tracer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/llogiq/path-tracer/teams","hooks_url":"https://api.github.com/repos/llogiq/path-tracer/hooks","issue_events_url":"https://api.github.com/repos/llogiq/path-tracer/issues/events{/number}","events_url":"https://api.github.com/repos/llogiq/path-tracer/events","assignees_url":"https://api.github.com/repos/llogiq/path-tracer/assignees{/user}","branches_url":"https://api.github.com/repos/llogiq/path-tracer/branches{/branch}","tags_url":"https://api.github.com/repos/llogiq/path-tracer/tags","blobs_url":"https://api.github.com/repos/llogiq/path-tracer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/llogiq/path-tracer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/llogiq/path-tracer/git/refs{/sha}","trees_url":"https://api.github.com/repos/llogiq/path-tracer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/llogiq/path-tracer/statuses/{sha}","languages_url":"https://api.github.com/repos/llogiq/path-tracer/languages","stargazers_url":"https://api.github.com/repos/llogiq/path-tracer/stargazers","contributors_url":"https://api.github.com/repos/llogiq/path-tracer/contributors","subscribers_url":"https://api.github.com/repos/llogiq/path-tracer/subscribers","subscription_url":"https://api.github.com/repos/llogiq/path-tracer/subscription","commits_url":"https://api.github.com/repos/llogiq/path-tracer/commits{/sha}","git_commits_url":"https://api.github.com/repos/llogiq/path-tracer/git/commits{/sha}","comments_url":"https://api.github.com/repos/llogiq/path-tracer/comments{/number}","issue_comment_url":"https://api.github.com/repos/llogiq/path-tracer/issues/comments{/number}","contents_url":"https://api.github.com/repos/llogiq/path-tracer/contents/{+path}","compare_url":"https://api.github.com/repos/llogiq/path-tracer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/llogiq/path-tracer/merges","archive_url":"https://api.github.com/repos/llogiq/path-tracer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/llogiq/path-tracer/downloads","issues_url":"https://api.github.com/repos/llogiq/path-tracer/issues{/number}","pulls_url":"https://api.github.com/repos/llogiq/path-tracer/pulls{/number}","milestones_url":"https://api.github.com/repos/llogiq/path-tracer/milestones{/number}","notifications_url":"https://api.github.com/repos/llogiq/path-tracer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/llogiq/path-tracer/labels{/name}","releases_url":"https://api.github.com/repos/llogiq/path-tracer/releases{/id}","created_at":"2015-05-28T07:50:00Z","updated_at":"2015-05-28T07:50:02Z","pushed_at":"2015-05-28T07:55:38Z","git_url":"git://github.com/llogiq/path-tracer.git","ssh_url":"git@github.com:llogiq/path-tracer.git","clone_url":"https://github.com/llogiq/path-tracer.git","svn_url":"https://github.com/llogiq/path-tracer","homepage":null,"size":159,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/llogiq/path-tracer/pulls/1"},"html":{"href":"https://github.com/llogiq/path-tracer/pull/1"},"issue":{"href":"https://api.github.com/repos/llogiq/path-tracer/issues/1"},"comments":{"href":"https://api.github.com/repos/llogiq/path-tracer/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/llogiq/path-tracer/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/llogiq/path-tracer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/llogiq/path-tracer/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/llogiq/path-tracer/statuses/3cfa98935c1e69de08f64c4277b0f98b49443b9e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":5,"changed_files":1}}