{"action":"created","comment":{"url":"https://api.github.com/repos/aturon/crossbeam/pulls/comments/40616675","id":40616675,"diff_hunk":"@@ -78,6 +94,116 @@ impl<'a> Scope<'a> {\n         });\n     }\n \n+    /// Create a scoped thread.\n+    ///\n+    /// `spawn` is similar to the [`spawn`][spawn] function in Rust's standard library. The\n+    /// difference is that this thread is scoped, meaning that it's guaranteed to terminate\n+    /// before the current stack frame goes away, allowing you to reference the parent stack frame","path":"src/scoped.rs","position":40,"original_position":40,"commit_id":"4add437baa82a5f7a304e3b9554f31cac97bd8c9","original_commit_id":"f2142dba9f95b02ddc6ea9bcf6e83b5a6dcee700","user":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars.githubusercontent.com/u/27786?v=3","gravatar_id":"","url":"https://api.github.com/users/steveklabnik","html_url":"https://github.com/steveklabnik","followers_url":"https://api.github.com/users/steveklabnik/followers","following_url":"https://api.github.com/users/steveklabnik/following{/other_user}","gists_url":"https://api.github.com/users/steveklabnik/gists{/gist_id}","starred_url":"https://api.github.com/users/steveklabnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveklabnik/subscriptions","organizations_url":"https://api.github.com/users/steveklabnik/orgs","repos_url":"https://api.github.com/users/steveklabnik/repos","events_url":"https://api.github.com/users/steveklabnik/events{/privacy}","received_events_url":"https://api.github.com/users/steveklabnik/received_events","type":"User","site_admin":false},"body":"updated!","created_at":"2015-09-28T23:00:13Z","updated_at":"2015-09-28T23:00:13Z","html_url":"https://github.com/aturon/crossbeam/pull/8#discussion_r40616675","pull_request_url":"https://api.github.com/repos/aturon/crossbeam/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/aturon/crossbeam/pulls/comments/40616675"},"html":{"href":"https://github.com/aturon/crossbeam/pull/8#discussion_r40616675"},"pull_request":{"href":"https://api.github.com/repos/aturon/crossbeam/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/aturon/crossbeam/pulls/8","id":46182838,"html_url":"https://github.com/aturon/crossbeam/pull/8","diff_url":"https://github.com/aturon/crossbeam/pull/8.diff","patch_url":"https://github.com/aturon/crossbeam/pull/8.patch","issue_url":"https://api.github.com/repos/aturon/crossbeam/issues/8","number":8,"state":"open","locked":false,"title":"Docs","user":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars.githubusercontent.com/u/27786?v=3","gravatar_id":"","url":"https://api.github.com/users/steveklabnik","html_url":"https://github.com/steveklabnik","followers_url":"https://api.github.com/users/steveklabnik/followers","following_url":"https://api.github.com/users/steveklabnik/following{/other_user}","gists_url":"https://api.github.com/users/steveklabnik/gists{/gist_id}","starred_url":"https://api.github.com/users/steveklabnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveklabnik/subscriptions","organizations_url":"https://api.github.com/users/steveklabnik/orgs","repos_url":"https://api.github.com/users/steveklabnik/repos","events_url":"https://api.github.com/users/steveklabnik/events{/privacy}","received_events_url":"https://api.github.com/users/steveklabnik/received_events","type":"User","site_admin":false},"body":"I want to start using scoped threads, but I also don't want to have to memorize the API :)","created_at":"2015-09-28T17:13:06Z","updated_at":"2015-09-28T23:00:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2d96fcf03357d3e8c00874a504f057d62be34325","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aturon/crossbeam/pulls/8/commits","review_comments_url":"https://api.github.com/repos/aturon/crossbeam/pulls/8/comments","review_comment_url":"https://api.github.com/repos/aturon/crossbeam/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aturon/crossbeam/issues/8/comments","statuses_url":"https://api.github.com/repos/aturon/crossbeam/statuses/4add437baa82a5f7a304e3b9554f31cac97bd8c9","head":{"label":"steveklabnik:docs","ref":"docs","sha":"4add437baa82a5f7a304e3b9554f31cac97bd8c9","user":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars.githubusercontent.com/u/27786?v=3","gravatar_id":"","url":"https://api.github.com/users/steveklabnik","html_url":"https://github.com/steveklabnik","followers_url":"https://api.github.com/users/steveklabnik/followers","following_url":"https://api.github.com/users/steveklabnik/following{/other_user}","gists_url":"https://api.github.com/users/steveklabnik/gists{/gist_id}","starred_url":"https://api.github.com/users/steveklabnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveklabnik/subscriptions","organizations_url":"https://api.github.com/users/steveklabnik/orgs","repos_url":"https://api.github.com/users/steveklabnik/repos","events_url":"https://api.github.com/users/steveklabnik/events{/privacy}","received_events_url":"https://api.github.com/users/steveklabnik/received_events","type":"User","site_admin":false},"repo":{"id":43308791,"name":"crossbeam","full_name":"steveklabnik/crossbeam","owner":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars.githubusercontent.com/u/27786?v=3","gravatar_id":"","url":"https://api.github.com/users/steveklabnik","html_url":"https://github.com/steveklabnik","followers_url":"https://api.github.com/users/steveklabnik/followers","following_url":"https://api.github.com/users/steveklabnik/following{/other_user}","gists_url":"https://api.github.com/users/steveklabnik/gists{/gist_id}","starred_url":"https://api.github.com/users/steveklabnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveklabnik/subscriptions","organizations_url":"https://api.github.com/users/steveklabnik/orgs","repos_url":"https://api.github.com/users/steveklabnik/repos","events_url":"https://api.github.com/users/steveklabnik/events{/privacy}","received_events_url":"https://api.github.com/users/steveklabnik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/steveklabnik/crossbeam","description":"Support for parallelism and low-level concurrency in Rust","fork":true,"url":"https://api.github.com/repos/steveklabnik/crossbeam","forks_url":"https://api.github.com/repos/steveklabnik/crossbeam/forks","keys_url":"https://api.github.com/repos/steveklabnik/crossbeam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/steveklabnik/crossbeam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/steveklabnik/crossbeam/teams","hooks_url":"https://api.github.com/repos/steveklabnik/crossbeam/hooks","issue_events_url":"https://api.github.com/repos/steveklabnik/crossbeam/issues/events{/number}","events_url":"https://api.github.com/repos/steveklabnik/crossbeam/events","assignees_url":"https://api.github.com/repos/steveklabnik/crossbeam/assignees{/user}","branches_url":"https://api.github.com/repos/steveklabnik/crossbeam/branches{/branch}","tags_url":"https://api.github.com/repos/steveklabnik/crossbeam/tags","blobs_url":"https://api.github.com/repos/steveklabnik/crossbeam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/steveklabnik/crossbeam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/steveklabnik/crossbeam/git/refs{/sha}","trees_url":"https://api.github.com/repos/steveklabnik/crossbeam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/steveklabnik/crossbeam/statuses/{sha}","languages_url":"https://api.github.com/repos/steveklabnik/crossbeam/languages","stargazers_url":"https://api.github.com/repos/steveklabnik/crossbeam/stargazers","contributors_url":"https://api.github.com/repos/steveklabnik/crossbeam/contributors","subscribers_url":"https://api.github.com/repos/steveklabnik/crossbeam/subscribers","subscription_url":"https://api.github.com/repos/steveklabnik/crossbeam/subscription","commits_url":"https://api.github.com/repos/steveklabnik/crossbeam/commits{/sha}","git_commits_url":"https://api.github.com/repos/steveklabnik/crossbeam/git/commits{/sha}","comments_url":"https://api.github.com/repos/steveklabnik/crossbeam/comments{/number}","issue_comment_url":"https://api.github.com/repos/steveklabnik/crossbeam/issues/comments{/number}","contents_url":"https://api.github.com/repos/steveklabnik/crossbeam/contents/{+path}","compare_url":"https://api.github.com/repos/steveklabnik/crossbeam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/steveklabnik/crossbeam/merges","archive_url":"https://api.github.com/repos/steveklabnik/crossbeam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/steveklabnik/crossbeam/downloads","issues_url":"https://api.github.com/repos/steveklabnik/crossbeam/issues{/number}","pulls_url":"https://api.github.com/repos/steveklabnik/crossbeam/pulls{/number}","milestones_url":"https://api.github.com/repos/steveklabnik/crossbeam/milestones{/number}","notifications_url":"https://api.github.com/repos/steveklabnik/crossbeam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/steveklabnik/crossbeam/labels{/name}","releases_url":"https://api.github.com/repos/steveklabnik/crossbeam/releases{/id}","created_at":"2015-09-28T15:18:55Z","updated_at":"2015-09-28T15:18:55Z","pushed_at":"2015-09-28T23:00:10Z","git_url":"git://github.com/steveklabnik/crossbeam.git","ssh_url":"git@github.com:steveklabnik/crossbeam.git","clone_url":"https://github.com/steveklabnik/crossbeam.git","svn_url":"https://github.com/steveklabnik/crossbeam","homepage":null,"size":305,"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":"aturon:master","ref":"master","sha":"c6b0ebcf8832fa51eac58f11eeb9b7cb561561dc","user":{"login":"aturon","id":709807,"avatar_url":"https://avatars.githubusercontent.com/u/709807?v=3","gravatar_id":"","url":"https://api.github.com/users/aturon","html_url":"https://github.com/aturon","followers_url":"https://api.github.com/users/aturon/followers","following_url":"https://api.github.com/users/aturon/following{/other_user}","gists_url":"https://api.github.com/users/aturon/gists{/gist_id}","starred_url":"https://api.github.com/users/aturon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aturon/subscriptions","organizations_url":"https://api.github.com/users/aturon/orgs","repos_url":"https://api.github.com/users/aturon/repos","events_url":"https://api.github.com/users/aturon/events{/privacy}","received_events_url":"https://api.github.com/users/aturon/received_events","type":"User","site_admin":false},"repo":{"id":35566048,"name":"crossbeam","full_name":"aturon/crossbeam","owner":{"login":"aturon","id":709807,"avatar_url":"https://avatars.githubusercontent.com/u/709807?v=3","gravatar_id":"","url":"https://api.github.com/users/aturon","html_url":"https://github.com/aturon","followers_url":"https://api.github.com/users/aturon/followers","following_url":"https://api.github.com/users/aturon/following{/other_user}","gists_url":"https://api.github.com/users/aturon/gists{/gist_id}","starred_url":"https://api.github.com/users/aturon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aturon/subscriptions","organizations_url":"https://api.github.com/users/aturon/orgs","repos_url":"https://api.github.com/users/aturon/repos","events_url":"https://api.github.com/users/aturon/events{/privacy}","received_events_url":"https://api.github.com/users/aturon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aturon/crossbeam","description":"Support for parallelism and low-level concurrency in Rust","fork":false,"url":"https://api.github.com/repos/aturon/crossbeam","forks_url":"https://api.github.com/repos/aturon/crossbeam/forks","keys_url":"https://api.github.com/repos/aturon/crossbeam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aturon/crossbeam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aturon/crossbeam/teams","hooks_url":"https://api.github.com/repos/aturon/crossbeam/hooks","issue_events_url":"https://api.github.com/repos/aturon/crossbeam/issues/events{/number}","events_url":"https://api.github.com/repos/aturon/crossbeam/events","assignees_url":"https://api.github.com/repos/aturon/crossbeam/assignees{/user}","branches_url":"https://api.github.com/repos/aturon/crossbeam/branches{/branch}","tags_url":"https://api.github.com/repos/aturon/crossbeam/tags","blobs_url":"https://api.github.com/repos/aturon/crossbeam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aturon/crossbeam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aturon/crossbeam/git/refs{/sha}","trees_url":"https://api.github.com/repos/aturon/crossbeam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aturon/crossbeam/statuses/{sha}","languages_url":"https://api.github.com/repos/aturon/crossbeam/languages","stargazers_url":"https://api.github.com/repos/aturon/crossbeam/stargazers","contributors_url":"https://api.github.com/repos/aturon/crossbeam/contributors","subscribers_url":"https://api.github.com/repos/aturon/crossbeam/subscribers","subscription_url":"https://api.github.com/repos/aturon/crossbeam/subscription","commits_url":"https://api.github.com/repos/aturon/crossbeam/commits{/sha}","git_commits_url":"https://api.github.com/repos/aturon/crossbeam/git/commits{/sha}","comments_url":"https://api.github.com/repos/aturon/crossbeam/comments{/number}","issue_comment_url":"https://api.github.com/repos/aturon/crossbeam/issues/comments{/number}","contents_url":"https://api.github.com/repos/aturon/crossbeam/contents/{+path}","compare_url":"https://api.github.com/repos/aturon/crossbeam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aturon/crossbeam/merges","archive_url":"https://api.github.com/repos/aturon/crossbeam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aturon/crossbeam/downloads","issues_url":"https://api.github.com/repos/aturon/crossbeam/issues{/number}","pulls_url":"https://api.github.com/repos/aturon/crossbeam/pulls{/number}","milestones_url":"https://api.github.com/repos/aturon/crossbeam/milestones{/number}","notifications_url":"https://api.github.com/repos/aturon/crossbeam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aturon/crossbeam/labels{/name}","releases_url":"https://api.github.com/repos/aturon/crossbeam/releases{/id}","created_at":"2015-05-13T18:10:54Z","updated_at":"2015-09-28T17:40:03Z","pushed_at":"2015-09-28T23:00:11Z","git_url":"git://github.com/aturon/crossbeam.git","ssh_url":"git@github.com:aturon/crossbeam.git","clone_url":"https://github.com/aturon/crossbeam.git","svn_url":"https://github.com/aturon/crossbeam","homepage":null,"size":305,"stargazers_count":172,"watchers_count":172,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":2,"forks":8,"open_issues":2,"watchers":172,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aturon/crossbeam/pulls/8"},"html":{"href":"https://github.com/aturon/crossbeam/pull/8"},"issue":{"href":"https://api.github.com/repos/aturon/crossbeam/issues/8"},"comments":{"href":"https://api.github.com/repos/aturon/crossbeam/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/aturon/crossbeam/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/aturon/crossbeam/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aturon/crossbeam/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/aturon/crossbeam/statuses/4add437baa82a5f7a304e3b9554f31cac97bd8c9"}}}}