{"action":"created","comment":{"url":"https://api.github.com/repos/servo/html5ever/pulls/comments/24518934","id":24518934,"diff_hunk":"@@ -112,7 +112,7 @@ pub trait AsciiCast {\n \n impl AsciiCast for char {\n     fn to_ascii_opt(&self) -> Option<Ascii> {\n-        let n = *self as uint;\n+        let n = *self as usize;","path":"src/util/str.rs","position":20,"original_position":20,"commit_id":"d78e741ac35616d006e6d3d66e7cd09bd9fc558a","original_commit_id":"d78e741ac35616d006e6d3d66e7cd09bd9fc558a","user":{"login":"kmcallister","id":444997,"avatar_url":"https://avatars.githubusercontent.com/u/444997?v=3","gravatar_id":"","url":"https://api.github.com/users/kmcallister","html_url":"https://github.com/kmcallister","followers_url":"https://api.github.com/users/kmcallister/followers","following_url":"https://api.github.com/users/kmcallister/following{/other_user}","gists_url":"https://api.github.com/users/kmcallister/gists{/gist_id}","starred_url":"https://api.github.com/users/kmcallister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmcallister/subscriptions","organizations_url":"https://api.github.com/users/kmcallister/orgs","repos_url":"https://api.github.com/users/kmcallister/repos","events_url":"https://api.github.com/users/kmcallister/events{/privacy}","received_events_url":"https://api.github.com/users/kmcallister/received_events","type":"User","site_admin":false},"body":"This should be `u32` I guess, because it comes from a `char`.  I'm not sure why it was `uint`, but I think I copied this code from libstd.","created_at":"2015-02-11T18:24:27Z","updated_at":"2015-02-11T18:24:27Z","html_url":"https://github.com/servo/html5ever/pull/69#discussion_r24518934","pull_request_url":"https://api.github.com/repos/servo/html5ever/pulls/69","_links":{"self":{"href":"https://api.github.com/repos/servo/html5ever/pulls/comments/24518934"},"html":{"href":"https://github.com/servo/html5ever/pull/69#discussion_r24518934"},"pull_request":{"href":"https://api.github.com/repos/servo/html5ever/pulls/69"}}},"pull_request":{"url":"https://api.github.com/repos/servo/html5ever/pulls/69","id":27785563,"html_url":"https://github.com/servo/html5ever/pull/69","diff_url":"https://github.com/servo/html5ever/pull/69.diff","patch_url":"https://github.com/servo/html5ever/pull/69.patch","issue_url":"https://api.github.com/repos/servo/html5ever/issues/69","number":69,"state":"open","locked":false,"title":"Replaced uint with usize and the 'u' type suffix with 'us'.","user":{"login":"mmatyas","id":4354863,"avatar_url":"https://avatars.githubusercontent.com/u/4354863?v=3","gravatar_id":"","url":"https://api.github.com/users/mmatyas","html_url":"https://github.com/mmatyas","followers_url":"https://api.github.com/users/mmatyas/followers","following_url":"https://api.github.com/users/mmatyas/following{/other_user}","gists_url":"https://api.github.com/users/mmatyas/gists{/gist_id}","starred_url":"https://api.github.com/users/mmatyas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmatyas/subscriptions","organizations_url":"https://api.github.com/users/mmatyas/orgs","repos_url":"https://api.github.com/users/mmatyas/repos","events_url":"https://api.github.com/users/mmatyas/events{/privacy}","received_events_url":"https://api.github.com/users/mmatyas/received_events","type":"User","site_admin":false},"body":"A simple warning fix, resolves #67 .","created_at":"2015-01-21T19:06:28Z","updated_at":"2015-02-11T18:24:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00f4921e530a08d3aa9a1861e5fba9a97998753f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/servo/html5ever/pulls/69/commits","review_comments_url":"https://api.github.com/repos/servo/html5ever/pulls/69/comments","review_comment_url":"https://api.github.com/repos/servo/html5ever/pulls/comments/{number}","comments_url":"https://api.github.com/repos/servo/html5ever/issues/69/comments","statuses_url":"https://api.github.com/repos/servo/html5ever/statuses/d78e741ac35616d006e6d3d66e7cd09bd9fc558a","head":{"label":"mmatyas:int_warning_fix","ref":"int_warning_fix","sha":"d78e741ac35616d006e6d3d66e7cd09bd9fc558a","user":{"login":"mmatyas","id":4354863,"avatar_url":"https://avatars.githubusercontent.com/u/4354863?v=3","gravatar_id":"","url":"https://api.github.com/users/mmatyas","html_url":"https://github.com/mmatyas","followers_url":"https://api.github.com/users/mmatyas/followers","following_url":"https://api.github.com/users/mmatyas/following{/other_user}","gists_url":"https://api.github.com/users/mmatyas/gists{/gist_id}","starred_url":"https://api.github.com/users/mmatyas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmatyas/subscriptions","organizations_url":"https://api.github.com/users/mmatyas/orgs","repos_url":"https://api.github.com/users/mmatyas/repos","events_url":"https://api.github.com/users/mmatyas/events{/privacy}","received_events_url":"https://api.github.com/users/mmatyas/received_events","type":"User","site_admin":false},"repo":{"id":29605232,"name":"html5ever","full_name":"mmatyas/html5ever","owner":{"login":"mmatyas","id":4354863,"avatar_url":"https://avatars.githubusercontent.com/u/4354863?v=3","gravatar_id":"","url":"https://api.github.com/users/mmatyas","html_url":"https://github.com/mmatyas","followers_url":"https://api.github.com/users/mmatyas/followers","following_url":"https://api.github.com/users/mmatyas/following{/other_user}","gists_url":"https://api.github.com/users/mmatyas/gists{/gist_id}","starred_url":"https://api.github.com/users/mmatyas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmatyas/subscriptions","organizations_url":"https://api.github.com/users/mmatyas/orgs","repos_url":"https://api.github.com/users/mmatyas/repos","events_url":"https://api.github.com/users/mmatyas/events{/privacy}","received_events_url":"https://api.github.com/users/mmatyas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mmatyas/html5ever","description":"High-performance browser-grade HTML5 parser","fork":true,"url":"https://api.github.com/repos/mmatyas/html5ever","forks_url":"https://api.github.com/repos/mmatyas/html5ever/forks","keys_url":"https://api.github.com/repos/mmatyas/html5ever/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mmatyas/html5ever/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mmatyas/html5ever/teams","hooks_url":"https://api.github.com/repos/mmatyas/html5ever/hooks","issue_events_url":"https://api.github.com/repos/mmatyas/html5ever/issues/events{/number}","events_url":"https://api.github.com/repos/mmatyas/html5ever/events","assignees_url":"https://api.github.com/repos/mmatyas/html5ever/assignees{/user}","branches_url":"https://api.github.com/repos/mmatyas/html5ever/branches{/branch}","tags_url":"https://api.github.com/repos/mmatyas/html5ever/tags","blobs_url":"https://api.github.com/repos/mmatyas/html5ever/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mmatyas/html5ever/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mmatyas/html5ever/git/refs{/sha}","trees_url":"https://api.github.com/repos/mmatyas/html5ever/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mmatyas/html5ever/statuses/{sha}","languages_url":"https://api.github.com/repos/mmatyas/html5ever/languages","stargazers_url":"https://api.github.com/repos/mmatyas/html5ever/stargazers","contributors_url":"https://api.github.com/repos/mmatyas/html5ever/contributors","subscribers_url":"https://api.github.com/repos/mmatyas/html5ever/subscribers","subscription_url":"https://api.github.com/repos/mmatyas/html5ever/subscription","commits_url":"https://api.github.com/repos/mmatyas/html5ever/commits{/sha}","git_commits_url":"https://api.github.com/repos/mmatyas/html5ever/git/commits{/sha}","comments_url":"https://api.github.com/repos/mmatyas/html5ever/comments{/number}","issue_comment_url":"https://api.github.com/repos/mmatyas/html5ever/issues/comments/{number}","contents_url":"https://api.github.com/repos/mmatyas/html5ever/contents/{+path}","compare_url":"https://api.github.com/repos/mmatyas/html5ever/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mmatyas/html5ever/merges","archive_url":"https://api.github.com/repos/mmatyas/html5ever/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mmatyas/html5ever/downloads","issues_url":"https://api.github.com/repos/mmatyas/html5ever/issues{/number}","pulls_url":"https://api.github.com/repos/mmatyas/html5ever/pulls{/number}","milestones_url":"https://api.github.com/repos/mmatyas/html5ever/milestones{/number}","notifications_url":"https://api.github.com/repos/mmatyas/html5ever/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mmatyas/html5ever/labels{/name}","releases_url":"https://api.github.com/repos/mmatyas/html5ever/releases{/id}","created_at":"2015-01-21T18:42:48Z","updated_at":"2015-02-11T11:08:45Z","pushed_at":"2015-02-11T11:09:27Z","git_url":"git://github.com/mmatyas/html5ever.git","ssh_url":"git@github.com:mmatyas/html5ever.git","clone_url":"https://github.com/mmatyas/html5ever.git","svn_url":"https://github.com/mmatyas/html5ever","homepage":"","size":1174,"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":"servo:master","ref":"master","sha":"06d34f28185540ebfb4ed8e8db38ae1b10339dd9","user":{"login":"servo","id":2566135,"avatar_url":"https://avatars.githubusercontent.com/u/2566135?v=3","gravatar_id":"","url":"https://api.github.com/users/servo","html_url":"https://github.com/servo","followers_url":"https://api.github.com/users/servo/followers","following_url":"https://api.github.com/users/servo/following{/other_user}","gists_url":"https://api.github.com/users/servo/gists{/gist_id}","starred_url":"https://api.github.com/users/servo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/servo/subscriptions","organizations_url":"https://api.github.com/users/servo/orgs","repos_url":"https://api.github.com/users/servo/repos","events_url":"https://api.github.com/users/servo/events{/privacy}","received_events_url":"https://api.github.com/users/servo/received_events","type":"Organization","site_admin":false},"repo":{"id":17691231,"name":"html5ever","full_name":"servo/html5ever","owner":{"login":"servo","id":2566135,"avatar_url":"https://avatars.githubusercontent.com/u/2566135?v=3","gravatar_id":"","url":"https://api.github.com/users/servo","html_url":"https://github.com/servo","followers_url":"https://api.github.com/users/servo/followers","following_url":"https://api.github.com/users/servo/following{/other_user}","gists_url":"https://api.github.com/users/servo/gists{/gist_id}","starred_url":"https://api.github.com/users/servo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/servo/subscriptions","organizations_url":"https://api.github.com/users/servo/orgs","repos_url":"https://api.github.com/users/servo/repos","events_url":"https://api.github.com/users/servo/events{/privacy}","received_events_url":"https://api.github.com/users/servo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/servo/html5ever","description":"High-performance browser-grade HTML5 parser","fork":false,"url":"https://api.github.com/repos/servo/html5ever","forks_url":"https://api.github.com/repos/servo/html5ever/forks","keys_url":"https://api.github.com/repos/servo/html5ever/keys{/key_id}","collaborators_url":"https://api.github.com/repos/servo/html5ever/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/servo/html5ever/teams","hooks_url":"https://api.github.com/repos/servo/html5ever/hooks","issue_events_url":"https://api.github.com/repos/servo/html5ever/issues/events{/number}","events_url":"https://api.github.com/repos/servo/html5ever/events","assignees_url":"https://api.github.com/repos/servo/html5ever/assignees{/user}","branches_url":"https://api.github.com/repos/servo/html5ever/branches{/branch}","tags_url":"https://api.github.com/repos/servo/html5ever/tags","blobs_url":"https://api.github.com/repos/servo/html5ever/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/servo/html5ever/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/servo/html5ever/git/refs{/sha}","trees_url":"https://api.github.com/repos/servo/html5ever/git/trees{/sha}","statuses_url":"https://api.github.com/repos/servo/html5ever/statuses/{sha}","languages_url":"https://api.github.com/repos/servo/html5ever/languages","stargazers_url":"https://api.github.com/repos/servo/html5ever/stargazers","contributors_url":"https://api.github.com/repos/servo/html5ever/contributors","subscribers_url":"https://api.github.com/repos/servo/html5ever/subscribers","subscription_url":"https://api.github.com/repos/servo/html5ever/subscription","commits_url":"https://api.github.com/repos/servo/html5ever/commits{/sha}","git_commits_url":"https://api.github.com/repos/servo/html5ever/git/commits{/sha}","comments_url":"https://api.github.com/repos/servo/html5ever/comments{/number}","issue_comment_url":"https://api.github.com/repos/servo/html5ever/issues/comments/{number}","contents_url":"https://api.github.com/repos/servo/html5ever/contents/{+path}","compare_url":"https://api.github.com/repos/servo/html5ever/compare/{base}...{head}","merges_url":"https://api.github.com/repos/servo/html5ever/merges","archive_url":"https://api.github.com/repos/servo/html5ever/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/servo/html5ever/downloads","issues_url":"https://api.github.com/repos/servo/html5ever/issues{/number}","pulls_url":"https://api.github.com/repos/servo/html5ever/pulls{/number}","milestones_url":"https://api.github.com/repos/servo/html5ever/milestones{/number}","notifications_url":"https://api.github.com/repos/servo/html5ever/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/servo/html5ever/labels{/name}","releases_url":"https://api.github.com/repos/servo/html5ever/releases{/id}","created_at":"2014-03-13T02:04:18Z","updated_at":"2015-02-11T07:36:21Z","pushed_at":"2015-02-11T03:19:47Z","git_url":"git://github.com/servo/html5ever.git","ssh_url":"git@github.com:servo/html5ever.git","clone_url":"https://github.com/servo/html5ever.git","svn_url":"https://github.com/servo/html5ever","homepage":"","size":2803,"stargazers_count":122,"watchers_count":122,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":44,"forks":25,"open_issues":44,"watchers":122,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/servo/html5ever/pulls/69"},"html":{"href":"https://github.com/servo/html5ever/pull/69"},"issue":{"href":"https://api.github.com/repos/servo/html5ever/issues/69"},"comments":{"href":"https://api.github.com/repos/servo/html5ever/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/servo/html5ever/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/servo/html5ever/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/servo/html5ever/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/servo/html5ever/statuses/d78e741ac35616d006e6d3d66e7cd09bd9fc558a"}}}}