{"action":"opened","number":598,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust-by-example/pulls/598","id":38129695,"html_url":"https://github.com/rust-lang/rust-by-example/pull/598","diff_url":"https://github.com/rust-lang/rust-by-example/pull/598.diff","patch_url":"https://github.com/rust-lang/rust-by-example/pull/598.patch","issue_url":"https://api.github.com/repos/rust-lang/rust-by-example/issues/598","number":598,"state":"open","locked":false,"title":"std/str: Fix warning: deprecated item","user":{"login":"jarcane","id":8036258,"avatar_url":"https://avatars.githubusercontent.com/u/8036258?v=3","gravatar_id":"","url":"https://api.github.com/users/jarcane","html_url":"https://github.com/jarcane","followers_url":"https://api.github.com/users/jarcane/followers","following_url":"https://api.github.com/users/jarcane/following{/other_user}","gists_url":"https://api.github.com/users/jarcane/gists{/gist_id}","starred_url":"https://api.github.com/users/jarcane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarcane/subscriptions","organizations_url":"https://api.github.com/users/jarcane/orgs","repos_url":"https://api.github.com/users/jarcane/repos","events_url":"https://api.github.com/users/jarcane/events{/privacy}","received_events_url":"https://api.github.com/users/jarcane/received_events","type":"User","site_admin":false},"body":"This sample throws a warning in line 36 currently, which does not appear to be intended: \r\n\r\n```\r\nwarning: use of deprecated item: use `String::from` instead, #[warn(deprecated)] on by default\r\n```\r\nAs making the suggested change produces this warning instead: \r\n```\r\nwarning: unused or unknown feature, #[warn(unused_features)] on by default\r\n``` \r\n...the reference to `#![feature(collections)]` is removed as well.","created_at":"2015-06-19T17:30:06Z","updated_at":"2015-06-19T17:30:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"18e3b1f61f01a584497ed1bca0ca3b0b47b50b12","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/rust-by-example/pulls/598/commits","review_comments_url":"https://api.github.com/repos/rust-lang/rust-by-example/pulls/598/comments","review_comment_url":"https://api.github.com/repos/rust-lang/rust-by-example/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rust-lang/rust-by-example/issues/598/comments","statuses_url":"https://api.github.com/repos/rust-lang/rust-by-example/statuses/523eff5a5905c8ca2c0a8c5579bd9b5e85727c26","head":{"label":"jarcane:patch-1","ref":"patch-1","sha":"523eff5a5905c8ca2c0a8c5579bd9b5e85727c26","user":{"login":"jarcane","id":8036258,"avatar_url":"https://avatars.githubusercontent.com/u/8036258?v=3","gravatar_id":"","url":"https://api.github.com/users/jarcane","html_url":"https://github.com/jarcane","followers_url":"https://api.github.com/users/jarcane/followers","following_url":"https://api.github.com/users/jarcane/following{/other_user}","gists_url":"https://api.github.com/users/jarcane/gists{/gist_id}","starred_url":"https://api.github.com/users/jarcane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarcane/subscriptions","organizations_url":"https://api.github.com/users/jarcane/orgs","repos_url":"https://api.github.com/users/jarcane/repos","events_url":"https://api.github.com/users/jarcane/events{/privacy}","received_events_url":"https://api.github.com/users/jarcane/received_events","type":"User","site_admin":false},"repo":{"id":37735846,"name":"rust-by-example","full_name":"jarcane/rust-by-example","owner":{"login":"jarcane","id":8036258,"avatar_url":"https://avatars.githubusercontent.com/u/8036258?v=3","gravatar_id":"","url":"https://api.github.com/users/jarcane","html_url":"https://github.com/jarcane","followers_url":"https://api.github.com/users/jarcane/followers","following_url":"https://api.github.com/users/jarcane/following{/other_user}","gists_url":"https://api.github.com/users/jarcane/gists{/gist_id}","starred_url":"https://api.github.com/users/jarcane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarcane/subscriptions","organizations_url":"https://api.github.com/users/jarcane/orgs","repos_url":"https://api.github.com/users/jarcane/repos","events_url":"https://api.github.com/users/jarcane/events{/privacy}","received_events_url":"https://api.github.com/users/jarcane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jarcane/rust-by-example","description":"Learn Rust with examples (Live code editor included)","fork":true,"url":"https://api.github.com/repos/jarcane/rust-by-example","forks_url":"https://api.github.com/repos/jarcane/rust-by-example/forks","keys_url":"https://api.github.com/repos/jarcane/rust-by-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jarcane/rust-by-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jarcane/rust-by-example/teams","hooks_url":"https://api.github.com/repos/jarcane/rust-by-example/hooks","issue_events_url":"https://api.github.com/repos/jarcane/rust-by-example/issues/events{/number}","events_url":"https://api.github.com/repos/jarcane/rust-by-example/events","assignees_url":"https://api.github.com/repos/jarcane/rust-by-example/assignees{/user}","branches_url":"https://api.github.com/repos/jarcane/rust-by-example/branches{/branch}","tags_url":"https://api.github.com/repos/jarcane/rust-by-example/tags","blobs_url":"https://api.github.com/repos/jarcane/rust-by-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jarcane/rust-by-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jarcane/rust-by-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/jarcane/rust-by-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jarcane/rust-by-example/statuses/{sha}","languages_url":"https://api.github.com/repos/jarcane/rust-by-example/languages","stargazers_url":"https://api.github.com/repos/jarcane/rust-by-example/stargazers","contributors_url":"https://api.github.com/repos/jarcane/rust-by-example/contributors","subscribers_url":"https://api.github.com/repos/jarcane/rust-by-example/subscribers","subscription_url":"https://api.github.com/repos/jarcane/rust-by-example/subscription","commits_url":"https://api.github.com/repos/jarcane/rust-by-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/jarcane/rust-by-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/jarcane/rust-by-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/jarcane/rust-by-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/jarcane/rust-by-example/contents/{+path}","compare_url":"https://api.github.com/repos/jarcane/rust-by-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jarcane/rust-by-example/merges","archive_url":"https://api.github.com/repos/jarcane/rust-by-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jarcane/rust-by-example/downloads","issues_url":"https://api.github.com/repos/jarcane/rust-by-example/issues{/number}","pulls_url":"https://api.github.com/repos/jarcane/rust-by-example/pulls{/number}","milestones_url":"https://api.github.com/repos/jarcane/rust-by-example/milestones{/number}","notifications_url":"https://api.github.com/repos/jarcane/rust-by-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jarcane/rust-by-example/labels{/name}","releases_url":"https://api.github.com/repos/jarcane/rust-by-example/releases{/id}","created_at":"2015-06-19T17:23:22Z","updated_at":"2015-06-19T17:23:23Z","pushed_at":"2015-06-19T17:27:56Z","git_url":"git://github.com/jarcane/rust-by-example.git","ssh_url":"git@github.com:jarcane/rust-by-example.git","clone_url":"https://github.com/jarcane/rust-by-example.git","svn_url":"https://github.com/jarcane/rust-by-example","homepage":"http://rustbyexample.com","size":52913,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rust-lang:master","ref":"master","sha":"a1abae9908b4f9323c89f4fbf164698b744674c8","user":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":19126114,"name":"rust-by-example","full_name":"rust-lang/rust-by-example","owner":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rust-lang/rust-by-example","description":"Learn Rust with examples (Live code editor included)","fork":false,"url":"https://api.github.com/repos/rust-lang/rust-by-example","forks_url":"https://api.github.com/repos/rust-lang/rust-by-example/forks","keys_url":"https://api.github.com/repos/rust-lang/rust-by-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang/rust-by-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang/rust-by-example/teams","hooks_url":"https://api.github.com/repos/rust-lang/rust-by-example/hooks","issue_events_url":"https://api.github.com/repos/rust-lang/rust-by-example/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang/rust-by-example/events","assignees_url":"https://api.github.com/repos/rust-lang/rust-by-example/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang/rust-by-example/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang/rust-by-example/tags","blobs_url":"https://api.github.com/repos/rust-lang/rust-by-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang/rust-by-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang/rust-by-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang/rust-by-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang/rust-by-example/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang/rust-by-example/languages","stargazers_url":"https://api.github.com/repos/rust-lang/rust-by-example/stargazers","contributors_url":"https://api.github.com/repos/rust-lang/rust-by-example/contributors","subscribers_url":"https://api.github.com/repos/rust-lang/rust-by-example/subscribers","subscription_url":"https://api.github.com/repos/rust-lang/rust-by-example/subscription","commits_url":"https://api.github.com/repos/rust-lang/rust-by-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang/rust-by-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang/rust-by-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang/rust-by-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-lang/rust-by-example/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang/rust-by-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang/rust-by-example/merges","archive_url":"https://api.github.com/repos/rust-lang/rust-by-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang/rust-by-example/downloads","issues_url":"https://api.github.com/repos/rust-lang/rust-by-example/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang/rust-by-example/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang/rust-by-example/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang/rust-by-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang/rust-by-example/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang/rust-by-example/releases{/id}","created_at":"2014-04-24T22:22:40Z","updated_at":"2015-06-19T03:15:47Z","pushed_at":"2015-06-19T17:30:06Z","git_url":"git://github.com/rust-lang/rust-by-example.git","ssh_url":"git@github.com:rust-lang/rust-by-example.git","clone_url":"https://github.com/rust-lang/rust-by-example.git","svn_url":"https://github.com/rust-lang/rust-by-example","homepage":"http://rustbyexample.com","size":52913,"stargazers_count":1713,"watchers_count":1713,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":225,"mirror_url":null,"open_issues_count":70,"forks":225,"open_issues":70,"watchers":1713,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust-by-example/pulls/598"},"html":{"href":"https://github.com/rust-lang/rust-by-example/pull/598"},"issue":{"href":"https://api.github.com/repos/rust-lang/rust-by-example/issues/598"},"comments":{"href":"https://api.github.com/repos/rust-lang/rust-by-example/issues/598/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/rust-by-example/pulls/598/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang/rust-by-example/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rust-lang/rust-by-example/pulls/598/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/rust-by-example/statuses/523eff5a5905c8ca2c0a8c5579bd9b5e85727c26"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":3,"changed_files":1}}