{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/petschekr/redirector/pulls/1","id":150051384,"html_url":"https://github.com/petschekr/redirector/pull/1","diff_url":"https://github.com/petschekr/redirector/pull/1.diff","patch_url":"https://github.com/petschekr/redirector/pull/1.patch","issue_url":"https://api.github.com/repos/petschekr/redirector/issues/1","number":1,"state":"closed","locked":false,"title":"Formatting and removed string allocation.","user":{"login":"illegalprime","id":4401220,"avatar_url":"https://avatars3.githubusercontent.com/u/4401220?v=4","gravatar_id":"","url":"https://api.github.com/users/illegalprime","html_url":"https://github.com/illegalprime","followers_url":"https://api.github.com/users/illegalprime/followers","following_url":"https://api.github.com/users/illegalprime/following{/other_user}","gists_url":"https://api.github.com/users/illegalprime/gists{/gist_id}","starred_url":"https://api.github.com/users/illegalprime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/illegalprime/subscriptions","organizations_url":"https://api.github.com/users/illegalprime/orgs","repos_url":"https://api.github.com/users/illegalprime/repos","events_url":"https://api.github.com/users/illegalprime/events{/privacy}","received_events_url":"https://api.github.com/users/illegalprime/received_events","type":"User","site_admin":false},"body":"Calling `.to_string()` allocates a new string on the heap, avoiding this saves on memory and processing power.","created_at":"2017-11-01T14:25:36Z","updated_at":"2017-11-01T15:48:48Z","closed_at":"2017-11-01T15:48:48Z","merged_at":"2017-11-01T15:48:48Z","merge_commit_sha":"485fbcfb07b4bbe6ce25ae35c2713e85311aa9f0","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/petschekr/redirector/pulls/1/commits","review_comments_url":"https://api.github.com/repos/petschekr/redirector/pulls/1/comments","review_comment_url":"https://api.github.com/repos/petschekr/redirector/pulls/comments{/number}","comments_url":"https://api.github.com/repos/petschekr/redirector/issues/1/comments","statuses_url":"https://api.github.com/repos/petschekr/redirector/statuses/180f0cc76fb736f943ecfb45d2572f30d44ac78c","head":{"label":"illegalprime:master","ref":"master","sha":"180f0cc76fb736f943ecfb45d2572f30d44ac78c","user":{"login":"illegalprime","id":4401220,"avatar_url":"https://avatars3.githubusercontent.com/u/4401220?v=4","gravatar_id":"","url":"https://api.github.com/users/illegalprime","html_url":"https://github.com/illegalprime","followers_url":"https://api.github.com/users/illegalprime/followers","following_url":"https://api.github.com/users/illegalprime/following{/other_user}","gists_url":"https://api.github.com/users/illegalprime/gists{/gist_id}","starred_url":"https://api.github.com/users/illegalprime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/illegalprime/subscriptions","organizations_url":"https://api.github.com/users/illegalprime/orgs","repos_url":"https://api.github.com/users/illegalprime/repos","events_url":"https://api.github.com/users/illegalprime/events{/privacy}","received_events_url":"https://api.github.com/users/illegalprime/received_events","type":"User","site_admin":false},"repo":{"id":109140806,"name":"redirector","full_name":"illegalprime/redirector","owner":{"login":"illegalprime","id":4401220,"avatar_url":"https://avatars3.githubusercontent.com/u/4401220?v=4","gravatar_id":"","url":"https://api.github.com/users/illegalprime","html_url":"https://github.com/illegalprime","followers_url":"https://api.github.com/users/illegalprime/followers","following_url":"https://api.github.com/users/illegalprime/following{/other_user}","gists_url":"https://api.github.com/users/illegalprime/gists{/gist_id}","starred_url":"https://api.github.com/users/illegalprime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/illegalprime/subscriptions","organizations_url":"https://api.github.com/users/illegalprime/orgs","repos_url":"https://api.github.com/users/illegalprime/repos","events_url":"https://api.github.com/users/illegalprime/events{/privacy}","received_events_url":"https://api.github.com/users/illegalprime/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/illegalprime/redirector","description":null,"fork":true,"url":"https://api.github.com/repos/illegalprime/redirector","forks_url":"https://api.github.com/repos/illegalprime/redirector/forks","keys_url":"https://api.github.com/repos/illegalprime/redirector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/illegalprime/redirector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/illegalprime/redirector/teams","hooks_url":"https://api.github.com/repos/illegalprime/redirector/hooks","issue_events_url":"https://api.github.com/repos/illegalprime/redirector/issues/events{/number}","events_url":"https://api.github.com/repos/illegalprime/redirector/events","assignees_url":"https://api.github.com/repos/illegalprime/redirector/assignees{/user}","branches_url":"https://api.github.com/repos/illegalprime/redirector/branches{/branch}","tags_url":"https://api.github.com/repos/illegalprime/redirector/tags","blobs_url":"https://api.github.com/repos/illegalprime/redirector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/illegalprime/redirector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/illegalprime/redirector/git/refs{/sha}","trees_url":"https://api.github.com/repos/illegalprime/redirector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/illegalprime/redirector/statuses/{sha}","languages_url":"https://api.github.com/repos/illegalprime/redirector/languages","stargazers_url":"https://api.github.com/repos/illegalprime/redirector/stargazers","contributors_url":"https://api.github.com/repos/illegalprime/redirector/contributors","subscribers_url":"https://api.github.com/repos/illegalprime/redirector/subscribers","subscription_url":"https://api.github.com/repos/illegalprime/redirector/subscription","commits_url":"https://api.github.com/repos/illegalprime/redirector/commits{/sha}","git_commits_url":"https://api.github.com/repos/illegalprime/redirector/git/commits{/sha}","comments_url":"https://api.github.com/repos/illegalprime/redirector/comments{/number}","issue_comment_url":"https://api.github.com/repos/illegalprime/redirector/issues/comments{/number}","contents_url":"https://api.github.com/repos/illegalprime/redirector/contents/{+path}","compare_url":"https://api.github.com/repos/illegalprime/redirector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/illegalprime/redirector/merges","archive_url":"https://api.github.com/repos/illegalprime/redirector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/illegalprime/redirector/downloads","issues_url":"https://api.github.com/repos/illegalprime/redirector/issues{/number}","pulls_url":"https://api.github.com/repos/illegalprime/redirector/pulls{/number}","milestones_url":"https://api.github.com/repos/illegalprime/redirector/milestones{/number}","notifications_url":"https://api.github.com/repos/illegalprime/redirector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/illegalprime/redirector/labels{/name}","releases_url":"https://api.github.com/repos/illegalprime/redirector/releases{/id}","deployments_url":"https://api.github.com/repos/illegalprime/redirector/deployments","created_at":"2017-11-01T14:21:42Z","updated_at":"2017-11-01T14:21:44Z","pushed_at":"2017-11-01T14:35:38Z","git_url":"git://github.com/illegalprime/redirector.git","ssh_url":"git@github.com:illegalprime/redirector.git","clone_url":"https://github.com/illegalprime/redirector.git","svn_url":"https://github.com/illegalprime/redirector","homepage":null,"size":2,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"petschekr:master","ref":"master","sha":"421b2f3782395b9771c264cc31d63b654b6bb80c","user":{"login":"petschekr","id":1111373,"avatar_url":"https://avatars1.githubusercontent.com/u/1111373?v=4","gravatar_id":"","url":"https://api.github.com/users/petschekr","html_url":"https://github.com/petschekr","followers_url":"https://api.github.com/users/petschekr/followers","following_url":"https://api.github.com/users/petschekr/following{/other_user}","gists_url":"https://api.github.com/users/petschekr/gists{/gist_id}","starred_url":"https://api.github.com/users/petschekr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petschekr/subscriptions","organizations_url":"https://api.github.com/users/petschekr/orgs","repos_url":"https://api.github.com/users/petschekr/repos","events_url":"https://api.github.com/users/petschekr/events{/privacy}","received_events_url":"https://api.github.com/users/petschekr/received_events","type":"User","site_admin":false},"repo":{"id":108802605,"name":"redirector","full_name":"petschekr/redirector","owner":{"login":"petschekr","id":1111373,"avatar_url":"https://avatars1.githubusercontent.com/u/1111373?v=4","gravatar_id":"","url":"https://api.github.com/users/petschekr","html_url":"https://github.com/petschekr","followers_url":"https://api.github.com/users/petschekr/followers","following_url":"https://api.github.com/users/petschekr/following{/other_user}","gists_url":"https://api.github.com/users/petschekr/gists{/gist_id}","starred_url":"https://api.github.com/users/petschekr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petschekr/subscriptions","organizations_url":"https://api.github.com/users/petschekr/orgs","repos_url":"https://api.github.com/users/petschekr/repos","events_url":"https://api.github.com/users/petschekr/events{/privacy}","received_events_url":"https://api.github.com/users/petschekr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/petschekr/redirector","description":null,"fork":false,"url":"https://api.github.com/repos/petschekr/redirector","forks_url":"https://api.github.com/repos/petschekr/redirector/forks","keys_url":"https://api.github.com/repos/petschekr/redirector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/petschekr/redirector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/petschekr/redirector/teams","hooks_url":"https://api.github.com/repos/petschekr/redirector/hooks","issue_events_url":"https://api.github.com/repos/petschekr/redirector/issues/events{/number}","events_url":"https://api.github.com/repos/petschekr/redirector/events","assignees_url":"https://api.github.com/repos/petschekr/redirector/assignees{/user}","branches_url":"https://api.github.com/repos/petschekr/redirector/branches{/branch}","tags_url":"https://api.github.com/repos/petschekr/redirector/tags","blobs_url":"https://api.github.com/repos/petschekr/redirector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/petschekr/redirector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/petschekr/redirector/git/refs{/sha}","trees_url":"https://api.github.com/repos/petschekr/redirector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/petschekr/redirector/statuses/{sha}","languages_url":"https://api.github.com/repos/petschekr/redirector/languages","stargazers_url":"https://api.github.com/repos/petschekr/redirector/stargazers","contributors_url":"https://api.github.com/repos/petschekr/redirector/contributors","subscribers_url":"https://api.github.com/repos/petschekr/redirector/subscribers","subscription_url":"https://api.github.com/repos/petschekr/redirector/subscription","commits_url":"https://api.github.com/repos/petschekr/redirector/commits{/sha}","git_commits_url":"https://api.github.com/repos/petschekr/redirector/git/commits{/sha}","comments_url":"https://api.github.com/repos/petschekr/redirector/comments{/number}","issue_comment_url":"https://api.github.com/repos/petschekr/redirector/issues/comments{/number}","contents_url":"https://api.github.com/repos/petschekr/redirector/contents/{+path}","compare_url":"https://api.github.com/repos/petschekr/redirector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/petschekr/redirector/merges","archive_url":"https://api.github.com/repos/petschekr/redirector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/petschekr/redirector/downloads","issues_url":"https://api.github.com/repos/petschekr/redirector/issues{/number}","pulls_url":"https://api.github.com/repos/petschekr/redirector/pulls{/number}","milestones_url":"https://api.github.com/repos/petschekr/redirector/milestones{/number}","notifications_url":"https://api.github.com/repos/petschekr/redirector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/petschekr/redirector/labels{/name}","releases_url":"https://api.github.com/repos/petschekr/redirector/releases{/id}","deployments_url":"https://api.github.com/repos/petschekr/redirector/deployments","created_at":"2017-10-30T04:44:06Z","updated_at":"2017-10-30T04:44:31Z","pushed_at":"2017-11-01T15:48:48Z","git_url":"git://github.com/petschekr/redirector.git","ssh_url":"git@github.com:petschekr/redirector.git","clone_url":"https://github.com/petschekr/redirector.git","svn_url":"https://github.com/petschekr/redirector","homepage":null,"size":2,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/petschekr/redirector/pulls/1"},"html":{"href":"https://github.com/petschekr/redirector/pull/1"},"issue":{"href":"https://api.github.com/repos/petschekr/redirector/issues/1"},"comments":{"href":"https://api.github.com/repos/petschekr/redirector/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/petschekr/redirector/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/petschekr/redirector/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/petschekr/redirector/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/petschekr/redirector/statuses/180f0cc76fb736f943ecfb45d2572f30d44ac78c"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"petschekr","id":1111373,"avatar_url":"https://avatars1.githubusercontent.com/u/1111373?v=4","gravatar_id":"","url":"https://api.github.com/users/petschekr","html_url":"https://github.com/petschekr","followers_url":"https://api.github.com/users/petschekr/followers","following_url":"https://api.github.com/users/petschekr/following{/other_user}","gists_url":"https://api.github.com/users/petschekr/gists{/gist_id}","starred_url":"https://api.github.com/users/petschekr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petschekr/subscriptions","organizations_url":"https://api.github.com/users/petschekr/orgs","repos_url":"https://api.github.com/users/petschekr/repos","events_url":"https://api.github.com/users/petschekr/events{/privacy}","received_events_url":"https://api.github.com/users/petschekr/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":16,"deletions":10,"changed_files":1}}
{"actor":{"display_login":"petschekr"}}