{"action":"opened","number":47,"pull_request":{"url":"https://api.github.com/repos/m4b/scroll/pulls/47","id":227805668,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3ODA1NjY4","html_url":"https://github.com/m4b/scroll/pull/47","diff_url":"https://github.com/m4b/scroll/pull/47.diff","patch_url":"https://github.com/m4b/scroll/pull/47.patch","issue_url":"https://api.github.com/repos/m4b/scroll/issues/47","number":47,"state":"open","locked":false,"title":"Make [Try]IntoCtx borrow instead of copying","user":{"login":"willglynn","id":118362,"node_id":"MDQ6VXNlcjExODM2Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/118362?v=4","gravatar_id":"","url":"https://api.github.com/users/willglynn","html_url":"https://github.com/willglynn","followers_url":"https://api.github.com/users/willglynn/followers","following_url":"https://api.github.com/users/willglynn/following{/other_user}","gists_url":"https://api.github.com/users/willglynn/gists{/gist_id}","starred_url":"https://api.github.com/users/willglynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willglynn/subscriptions","organizations_url":"https://api.github.com/users/willglynn/orgs","repos_url":"https://api.github.com/users/willglynn/repos","events_url":"https://api.github.com/users/willglynn/events{/privacy}","received_events_url":"https://api.github.com/users/willglynn/received_events","type":"User","site_admin":false},"body":"This PR changes `[Try]IntoCtx` to take `&self` instead of `self`. It very likely breaks every downstream project that calls `cwrite()` or `pwrite()`, but in a trivial way – callers need only specify `&`.\r\n\r\nThis closes #46 and also incidentally closes #42.","created_at":"2018-11-02T01:18:55Z","updated_at":"2018-11-02T01:18:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/m4b/scroll/pulls/47/commits","review_comments_url":"https://api.github.com/repos/m4b/scroll/pulls/47/comments","review_comment_url":"https://api.github.com/repos/m4b/scroll/pulls/comments{/number}","comments_url":"https://api.github.com/repos/m4b/scroll/issues/47/comments","statuses_url":"https://api.github.com/repos/m4b/scroll/statuses/2a73c267be14975a0dcabc45c7daf8f1c83e1d63","head":{"label":"willglynn:borrow_instead_of_copying","ref":"borrow_instead_of_copying","sha":"2a73c267be14975a0dcabc45c7daf8f1c83e1d63","user":{"login":"willglynn","id":118362,"node_id":"MDQ6VXNlcjExODM2Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/118362?v=4","gravatar_id":"","url":"https://api.github.com/users/willglynn","html_url":"https://github.com/willglynn","followers_url":"https://api.github.com/users/willglynn/followers","following_url":"https://api.github.com/users/willglynn/following{/other_user}","gists_url":"https://api.github.com/users/willglynn/gists{/gist_id}","starred_url":"https://api.github.com/users/willglynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willglynn/subscriptions","organizations_url":"https://api.github.com/users/willglynn/orgs","repos_url":"https://api.github.com/users/willglynn/repos","events_url":"https://api.github.com/users/willglynn/events{/privacy}","received_events_url":"https://api.github.com/users/willglynn/received_events","type":"User","site_admin":false},"repo":{"id":153558369,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM1NTgzNjk=","name":"scroll","full_name":"willglynn/scroll","private":false,"owner":{"login":"willglynn","id":118362,"node_id":"MDQ6VXNlcjExODM2Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/118362?v=4","gravatar_id":"","url":"https://api.github.com/users/willglynn","html_url":"https://github.com/willglynn","followers_url":"https://api.github.com/users/willglynn/followers","following_url":"https://api.github.com/users/willglynn/following{/other_user}","gists_url":"https://api.github.com/users/willglynn/gists{/gist_id}","starred_url":"https://api.github.com/users/willglynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willglynn/subscriptions","organizations_url":"https://api.github.com/users/willglynn/orgs","repos_url":"https://api.github.com/users/willglynn/repos","events_url":"https://api.github.com/users/willglynn/events{/privacy}","received_events_url":"https://api.github.com/users/willglynn/received_events","type":"User","site_admin":false},"html_url":"https://github.com/willglynn/scroll","description":"Scroll - making scrolling through buffers fun since 2016","fork":true,"url":"https://api.github.com/repos/willglynn/scroll","forks_url":"https://api.github.com/repos/willglynn/scroll/forks","keys_url":"https://api.github.com/repos/willglynn/scroll/keys{/key_id}","collaborators_url":"https://api.github.com/repos/willglynn/scroll/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/willglynn/scroll/teams","hooks_url":"https://api.github.com/repos/willglynn/scroll/hooks","issue_events_url":"https://api.github.com/repos/willglynn/scroll/issues/events{/number}","events_url":"https://api.github.com/repos/willglynn/scroll/events","assignees_url":"https://api.github.com/repos/willglynn/scroll/assignees{/user}","branches_url":"https://api.github.com/repos/willglynn/scroll/branches{/branch}","tags_url":"https://api.github.com/repos/willglynn/scroll/tags","blobs_url":"https://api.github.com/repos/willglynn/scroll/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/willglynn/scroll/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/willglynn/scroll/git/refs{/sha}","trees_url":"https://api.github.com/repos/willglynn/scroll/git/trees{/sha}","statuses_url":"https://api.github.com/repos/willglynn/scroll/statuses/{sha}","languages_url":"https://api.github.com/repos/willglynn/scroll/languages","stargazers_url":"https://api.github.com/repos/willglynn/scroll/stargazers","contributors_url":"https://api.github.com/repos/willglynn/scroll/contributors","subscribers_url":"https://api.github.com/repos/willglynn/scroll/subscribers","subscription_url":"https://api.github.com/repos/willglynn/scroll/subscription","commits_url":"https://api.github.com/repos/willglynn/scroll/commits{/sha}","git_commits_url":"https://api.github.com/repos/willglynn/scroll/git/commits{/sha}","comments_url":"https://api.github.com/repos/willglynn/scroll/comments{/number}","issue_comment_url":"https://api.github.com/repos/willglynn/scroll/issues/comments{/number}","contents_url":"https://api.github.com/repos/willglynn/scroll/contents/{+path}","compare_url":"https://api.github.com/repos/willglynn/scroll/compare/{base}...{head}","merges_url":"https://api.github.com/repos/willglynn/scroll/merges","archive_url":"https://api.github.com/repos/willglynn/scroll/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/willglynn/scroll/downloads","issues_url":"https://api.github.com/repos/willglynn/scroll/issues{/number}","pulls_url":"https://api.github.com/repos/willglynn/scroll/pulls{/number}","milestones_url":"https://api.github.com/repos/willglynn/scroll/milestones{/number}","notifications_url":"https://api.github.com/repos/willglynn/scroll/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/willglynn/scroll/labels{/name}","releases_url":"https://api.github.com/repos/willglynn/scroll/releases{/id}","deployments_url":"https://api.github.com/repos/willglynn/scroll/deployments","created_at":"2018-10-18T03:29:19Z","updated_at":"2018-10-18T03:29:21Z","pushed_at":"2018-11-02T01:16:20Z","git_url":"git://github.com/willglynn/scroll.git","ssh_url":"git@github.com:willglynn/scroll.git","clone_url":"https://github.com/willglynn/scroll.git","svn_url":"https://github.com/willglynn/scroll","homepage":null,"size":218,"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,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"m4b:master","ref":"master","sha":"97276c09f185ff6a58d17d094cef0d0196977fca","user":{"login":"m4b","id":1920204,"node_id":"MDQ6VXNlcjE5MjAyMDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1920204?v=4","gravatar_id":"","url":"https://api.github.com/users/m4b","html_url":"https://github.com/m4b","followers_url":"https://api.github.com/users/m4b/followers","following_url":"https://api.github.com/users/m4b/following{/other_user}","gists_url":"https://api.github.com/users/m4b/gists{/gist_id}","starred_url":"https://api.github.com/users/m4b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m4b/subscriptions","organizations_url":"https://api.github.com/users/m4b/orgs","repos_url":"https://api.github.com/users/m4b/repos","events_url":"https://api.github.com/users/m4b/events{/privacy}","received_events_url":"https://api.github.com/users/m4b/received_events","type":"User","site_admin":false},"repo":{"id":74545261,"node_id":"MDEwOlJlcG9zaXRvcnk3NDU0NTI2MQ==","name":"scroll","full_name":"m4b/scroll","private":false,"owner":{"login":"m4b","id":1920204,"node_id":"MDQ6VXNlcjE5MjAyMDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1920204?v=4","gravatar_id":"","url":"https://api.github.com/users/m4b","html_url":"https://github.com/m4b","followers_url":"https://api.github.com/users/m4b/followers","following_url":"https://api.github.com/users/m4b/following{/other_user}","gists_url":"https://api.github.com/users/m4b/gists{/gist_id}","starred_url":"https://api.github.com/users/m4b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m4b/subscriptions","organizations_url":"https://api.github.com/users/m4b/orgs","repos_url":"https://api.github.com/users/m4b/repos","events_url":"https://api.github.com/users/m4b/events{/privacy}","received_events_url":"https://api.github.com/users/m4b/received_events","type":"User","site_admin":false},"html_url":"https://github.com/m4b/scroll","description":"Scroll - making scrolling through buffers fun since 2016","fork":false,"url":"https://api.github.com/repos/m4b/scroll","forks_url":"https://api.github.com/repos/m4b/scroll/forks","keys_url":"https://api.github.com/repos/m4b/scroll/keys{/key_id}","collaborators_url":"https://api.github.com/repos/m4b/scroll/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/m4b/scroll/teams","hooks_url":"https://api.github.com/repos/m4b/scroll/hooks","issue_events_url":"https://api.github.com/repos/m4b/scroll/issues/events{/number}","events_url":"https://api.github.com/repos/m4b/scroll/events","assignees_url":"https://api.github.com/repos/m4b/scroll/assignees{/user}","branches_url":"https://api.github.com/repos/m4b/scroll/branches{/branch}","tags_url":"https://api.github.com/repos/m4b/scroll/tags","blobs_url":"https://api.github.com/repos/m4b/scroll/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/m4b/scroll/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/m4b/scroll/git/refs{/sha}","trees_url":"https://api.github.com/repos/m4b/scroll/git/trees{/sha}","statuses_url":"https://api.github.com/repos/m4b/scroll/statuses/{sha}","languages_url":"https://api.github.com/repos/m4b/scroll/languages","stargazers_url":"https://api.github.com/repos/m4b/scroll/stargazers","contributors_url":"https://api.github.com/repos/m4b/scroll/contributors","subscribers_url":"https://api.github.com/repos/m4b/scroll/subscribers","subscription_url":"https://api.github.com/repos/m4b/scroll/subscription","commits_url":"https://api.github.com/repos/m4b/scroll/commits{/sha}","git_commits_url":"https://api.github.com/repos/m4b/scroll/git/commits{/sha}","comments_url":"https://api.github.com/repos/m4b/scroll/comments{/number}","issue_comment_url":"https://api.github.com/repos/m4b/scroll/issues/comments{/number}","contents_url":"https://api.github.com/repos/m4b/scroll/contents/{+path}","compare_url":"https://api.github.com/repos/m4b/scroll/compare/{base}...{head}","merges_url":"https://api.github.com/repos/m4b/scroll/merges","archive_url":"https://api.github.com/repos/m4b/scroll/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/m4b/scroll/downloads","issues_url":"https://api.github.com/repos/m4b/scroll/issues{/number}","pulls_url":"https://api.github.com/repos/m4b/scroll/pulls{/number}","milestones_url":"https://api.github.com/repos/m4b/scroll/milestones{/number}","notifications_url":"https://api.github.com/repos/m4b/scroll/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/m4b/scroll/labels{/name}","releases_url":"https://api.github.com/repos/m4b/scroll/releases{/id}","deployments_url":"https://api.github.com/repos/m4b/scroll/deployments","created_at":"2016-11-23T05:58:52Z","updated_at":"2018-11-01T04:06:15Z","pushed_at":"2018-11-01T04:06:13Z","git_url":"git://github.com/m4b/scroll.git","ssh_url":"git@github.com:m4b/scroll.git","clone_url":"https://github.com/m4b/scroll.git","svn_url":"https://github.com/m4b/scroll","homepage":null,"size":201,"stargazers_count":38,"watchers_count":38,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":11,"open_issues":11,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/m4b/scroll/pulls/47"},"html":{"href":"https://github.com/m4b/scroll/pull/47"},"issue":{"href":"https://api.github.com/repos/m4b/scroll/issues/47"},"comments":{"href":"https://api.github.com/repos/m4b/scroll/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/m4b/scroll/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/m4b/scroll/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/m4b/scroll/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/m4b/scroll/statuses/2a73c267be14975a0dcabc45c7daf8f1c83e1d63"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":188,"deletions":119,"changed_files":8}}
{"actor":{"display_login":"willglynn"}}