{"action":"closed","number":1640,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/1640","id":72623564,"html_url":"https://github.com/rust-lang/rfcs/pull/1640","diff_url":"https://github.com/rust-lang/rfcs/pull/1640.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/1640.patch","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1640","number":1640,"state":"closed","locked":false,"title":"add: duration_checked_sub RFC","user":{"login":"benaryorg","id":6145260,"avatar_url":"https://avatars.githubusercontent.com/u/6145260?v=3","gravatar_id":"","url":"https://api.github.com/users/benaryorg","html_url":"https://github.com/benaryorg","followers_url":"https://api.github.com/users/benaryorg/followers","following_url":"https://api.github.com/users/benaryorg/following{/other_user}","gists_url":"https://api.github.com/users/benaryorg/gists{/gist_id}","starred_url":"https://api.github.com/users/benaryorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benaryorg/subscriptions","organizations_url":"https://api.github.com/users/benaryorg/orgs","repos_url":"https://api.github.com/users/benaryorg/repos","events_url":"https://api.github.com/users/benaryorg/events{/privacy}","received_events_url":"https://api.github.com/users/benaryorg/received_events","type":"User","site_admin":false},"body":"This would as described in the RFC add the method `Duration::checked_sub()` and as an unresolved question if a few other, similar methods should be added.","created_at":"2016-06-05T08:13:28Z","updated_at":"2016-08-18T02:28:12Z","closed_at":"2016-08-18T02:28:12Z","merged_at":"2016-08-18T02:28:12Z","merge_commit_sha":"bde7d918cd9ce816a2b25792b88cdb2c71f8e65f","assignee":{"login":"sfackler","id":1455697,"avatar_url":"https://avatars.githubusercontent.com/u/1455697?v=3","gravatar_id":"","url":"https://api.github.com/users/sfackler","html_url":"https://github.com/sfackler","followers_url":"https://api.github.com/users/sfackler/followers","following_url":"https://api.github.com/users/sfackler/following{/other_user}","gists_url":"https://api.github.com/users/sfackler/gists{/gist_id}","starred_url":"https://api.github.com/users/sfackler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfackler/subscriptions","organizations_url":"https://api.github.com/users/sfackler/orgs","repos_url":"https://api.github.com/users/sfackler/repos","events_url":"https://api.github.com/users/sfackler/events{/privacy}","received_events_url":"https://api.github.com/users/sfackler/received_events","type":"User","site_admin":false},"assignees":[{"login":"sfackler","id":1455697,"avatar_url":"https://avatars.githubusercontent.com/u/1455697?v=3","gravatar_id":"","url":"https://api.github.com/users/sfackler","html_url":"https://github.com/sfackler","followers_url":"https://api.github.com/users/sfackler/followers","following_url":"https://api.github.com/users/sfackler/following{/other_user}","gists_url":"https://api.github.com/users/sfackler/gists{/gist_id}","starred_url":"https://api.github.com/users/sfackler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfackler/subscriptions","organizations_url":"https://api.github.com/users/sfackler/orgs","repos_url":"https://api.github.com/users/sfackler/repos","events_url":"https://api.github.com/users/sfackler/events{/privacy}","received_events_url":"https://api.github.com/users/sfackler/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/rfcs/pulls/1640/commits","review_comments_url":"https://api.github.com/repos/rust-lang/rfcs/pulls/1640/comments","review_comment_url":"https://api.github.com/repos/rust-lang/rfcs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1640/comments","statuses_url":"https://api.github.com/repos/rust-lang/rfcs/statuses/bde7d918cd9ce816a2b25792b88cdb2c71f8e65f","head":{"label":"benaryorg:checked_sub","ref":"checked_sub","sha":"bde7d918cd9ce816a2b25792b88cdb2c71f8e65f","user":{"login":"benaryorg","id":6145260,"avatar_url":"https://avatars.githubusercontent.com/u/6145260?v=3","gravatar_id":"","url":"https://api.github.com/users/benaryorg","html_url":"https://github.com/benaryorg","followers_url":"https://api.github.com/users/benaryorg/followers","following_url":"https://api.github.com/users/benaryorg/following{/other_user}","gists_url":"https://api.github.com/users/benaryorg/gists{/gist_id}","starred_url":"https://api.github.com/users/benaryorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benaryorg/subscriptions","organizations_url":"https://api.github.com/users/benaryorg/orgs","repos_url":"https://api.github.com/users/benaryorg/repos","events_url":"https://api.github.com/users/benaryorg/events{/privacy}","received_events_url":"https://api.github.com/users/benaryorg/received_events","type":"User","site_admin":false},"repo":{"id":60428813,"name":"rfcs","full_name":"benaryorg/rfcs","owner":{"login":"benaryorg","id":6145260,"avatar_url":"https://avatars.githubusercontent.com/u/6145260?v=3","gravatar_id":"","url":"https://api.github.com/users/benaryorg","html_url":"https://github.com/benaryorg","followers_url":"https://api.github.com/users/benaryorg/followers","following_url":"https://api.github.com/users/benaryorg/following{/other_user}","gists_url":"https://api.github.com/users/benaryorg/gists{/gist_id}","starred_url":"https://api.github.com/users/benaryorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benaryorg/subscriptions","organizations_url":"https://api.github.com/users/benaryorg/orgs","repos_url":"https://api.github.com/users/benaryorg/repos","events_url":"https://api.github.com/users/benaryorg/events{/privacy}","received_events_url":"https://api.github.com/users/benaryorg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benaryorg/rfcs","description":"RFCs for changes to Rust","fork":true,"url":"https://api.github.com/repos/benaryorg/rfcs","forks_url":"https://api.github.com/repos/benaryorg/rfcs/forks","keys_url":"https://api.github.com/repos/benaryorg/rfcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benaryorg/rfcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benaryorg/rfcs/teams","hooks_url":"https://api.github.com/repos/benaryorg/rfcs/hooks","issue_events_url":"https://api.github.com/repos/benaryorg/rfcs/issues/events{/number}","events_url":"https://api.github.com/repos/benaryorg/rfcs/events","assignees_url":"https://api.github.com/repos/benaryorg/rfcs/assignees{/user}","branches_url":"https://api.github.com/repos/benaryorg/rfcs/branches{/branch}","tags_url":"https://api.github.com/repos/benaryorg/rfcs/tags","blobs_url":"https://api.github.com/repos/benaryorg/rfcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benaryorg/rfcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benaryorg/rfcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/benaryorg/rfcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benaryorg/rfcs/statuses/{sha}","languages_url":"https://api.github.com/repos/benaryorg/rfcs/languages","stargazers_url":"https://api.github.com/repos/benaryorg/rfcs/stargazers","contributors_url":"https://api.github.com/repos/benaryorg/rfcs/contributors","subscribers_url":"https://api.github.com/repos/benaryorg/rfcs/subscribers","subscription_url":"https://api.github.com/repos/benaryorg/rfcs/subscription","commits_url":"https://api.github.com/repos/benaryorg/rfcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/benaryorg/rfcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/benaryorg/rfcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/benaryorg/rfcs/issues/comments{/number}","contents_url":"https://api.github.com/repos/benaryorg/rfcs/contents/{+path}","compare_url":"https://api.github.com/repos/benaryorg/rfcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benaryorg/rfcs/merges","archive_url":"https://api.github.com/repos/benaryorg/rfcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benaryorg/rfcs/downloads","issues_url":"https://api.github.com/repos/benaryorg/rfcs/issues{/number}","pulls_url":"https://api.github.com/repos/benaryorg/rfcs/pulls{/number}","milestones_url":"https://api.github.com/repos/benaryorg/rfcs/milestones{/number}","notifications_url":"https://api.github.com/repos/benaryorg/rfcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benaryorg/rfcs/labels{/name}","releases_url":"https://api.github.com/repos/benaryorg/rfcs/releases{/id}","deployments_url":"https://api.github.com/repos/benaryorg/rfcs/deployments","created_at":"2016-06-04T20:23:24Z","updated_at":"2016-06-04T15:50:12Z","pushed_at":"2016-08-16T22:42:11Z","git_url":"git://github.com/benaryorg/rfcs.git","ssh_url":"git@github.com:benaryorg/rfcs.git","clone_url":"https://github.com/benaryorg/rfcs.git","svn_url":"https://github.com/benaryorg/rfcs","homepage":"","size":2855,"stargazers_count":0,"watchers_count":0,"language":null,"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":"rust-lang:master","ref":"master","sha":"8fb87426c63b29e32072ac48684901fa54f6e3a8","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":17527989,"name":"rfcs","full_name":"rust-lang/rfcs","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/rfcs","description":"RFCs for changes to Rust","fork":false,"url":"https://api.github.com/repos/rust-lang/rfcs","forks_url":"https://api.github.com/repos/rust-lang/rfcs/forks","keys_url":"https://api.github.com/repos/rust-lang/rfcs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang/rfcs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang/rfcs/teams","hooks_url":"https://api.github.com/repos/rust-lang/rfcs/hooks","issue_events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang/rfcs/events","assignees_url":"https://api.github.com/repos/rust-lang/rfcs/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang/rfcs/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang/rfcs/tags","blobs_url":"https://api.github.com/repos/rust-lang/rfcs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang/rfcs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang/rfcs/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang/rfcs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang/rfcs/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang/rfcs/languages","stargazers_url":"https://api.github.com/repos/rust-lang/rfcs/stargazers","contributors_url":"https://api.github.com/repos/rust-lang/rfcs/contributors","subscribers_url":"https://api.github.com/repos/rust-lang/rfcs/subscribers","subscription_url":"https://api.github.com/repos/rust-lang/rfcs/subscription","commits_url":"https://api.github.com/repos/rust-lang/rfcs/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang/rfcs/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-lang/rfcs/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang/rfcs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang/rfcs/merges","archive_url":"https://api.github.com/repos/rust-lang/rfcs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang/rfcs/downloads","issues_url":"https://api.github.com/repos/rust-lang/rfcs/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang/rfcs/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang/rfcs/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang/rfcs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang/rfcs/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang/rfcs/releases{/id}","deployments_url":"https://api.github.com/repos/rust-lang/rfcs/deployments","created_at":"2014-03-07T21:29:00Z","updated_at":"2016-08-17T13:05:34Z","pushed_at":"2016-08-18T02:28:08Z","git_url":"git://github.com/rust-lang/rfcs.git","ssh_url":"git@github.com:rust-lang/rfcs.git","clone_url":"https://github.com/rust-lang/rfcs.git","svn_url":"https://github.com/rust-lang/rfcs","homepage":"","size":7860,"stargazers_count":714,"watchers_count":714,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":341,"mirror_url":null,"open_issues_count":674,"forks":341,"open_issues":674,"watchers":714,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rfcs/pulls/1640"},"html":{"href":"https://github.com/rust-lang/rfcs/pull/1640"},"issue":{"href":"https://api.github.com/repos/rust-lang/rfcs/issues/1640"},"comments":{"href":"https://api.github.com/repos/rust-lang/rfcs/issues/1640/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/rfcs/pulls/1640/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang/rfcs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rust-lang/rfcs/pulls/1640/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/rfcs/statuses/bde7d918cd9ce816a2b25792b88cdb2c71f8e65f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"comments":18,"review_comments":1,"commits":3,"additions":102,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"alexcrichton"}}