{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/1303","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1303/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1303/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1303/events","html_url":"https://github.com/rust-lang/rfcs/pull/1303","id":109424677,"number":1303,"title":"Add a `let...else` expression, similar to Swift's `guard let...else`","user":{"login":"mbrubeck","id":5920,"avatar_url":"https://avatars.githubusercontent.com/u/5920?v=3","gravatar_id":"","url":"https://api.github.com/users/mbrubeck","html_url":"https://github.com/mbrubeck","followers_url":"https://api.github.com/users/mbrubeck/followers","following_url":"https://api.github.com/users/mbrubeck/following{/other_user}","gists_url":"https://api.github.com/users/mbrubeck/gists{/gist_id}","starred_url":"https://api.github.com/users/mbrubeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbrubeck/subscriptions","organizations_url":"https://api.github.com/users/mbrubeck/orgs","repos_url":"https://api.github.com/users/mbrubeck/repos","events_url":"https://api.github.com/users/mbrubeck/events{/privacy}","received_events_url":"https://api.github.com/users/mbrubeck/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rfcs/labels/T-lang","name":"T-lang","color":"bfd4f2"}],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":218,"created_at":"2015-10-02T03:43:46Z","updated_at":"2016-01-04T10:45:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/1303","html_url":"https://github.com/rust-lang/rfcs/pull/1303","diff_url":"https://github.com/rust-lang/rfcs/pull/1303.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/1303.patch"},"body":"[Rendered](https://github.com/mbrubeck/rfcs/blob/if-not-let/text/0000-let-else.md)\r\n\r\n**Note:** The initial version of this RFC used the syntax `if !let PAT = EXPR { BODY }`.  In the current version this has been changed to `let PAT = EXPR else { BODY }` for reasons discussed below."},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/168642326","html_url":"https://github.com/rust-lang/rfcs/pull/1303#issuecomment-168642326","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1303","id":168642326,"user":{"login":"Ticki","id":13349091,"avatar_url":"https://avatars.githubusercontent.com/u/13349091?v=3","gravatar_id":"","url":"https://api.github.com/users/Ticki","html_url":"https://github.com/Ticki","followers_url":"https://api.github.com/users/Ticki/followers","following_url":"https://api.github.com/users/Ticki/following{/other_user}","gists_url":"https://api.github.com/users/Ticki/gists{/gist_id}","starred_url":"https://api.github.com/users/Ticki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ticki/subscriptions","organizations_url":"https://api.github.com/users/Ticki/orgs","repos_url":"https://api.github.com/users/Ticki/repos","events_url":"https://api.github.com/users/Ticki/events{/privacy}","received_events_url":"https://api.github.com/users/Ticki/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T10:45:25Z","updated_at":"2016-01-04T10:45:25Z","body":":-1: This piece of sugar is not very common, and seems like an unnecessary extension. Furthermore, the usecase outlined in 'motivations' is overlapping with potential future extensions."}}