{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/14369","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/14369/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/14369/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/14369/events","html_url":"https://github.com/rust-lang/rust/issues/14369","id":34145088,"number":14369,"title":"Allow for representing Option<uint> as an integer with an excluded sentinel value","user":{"login":"zwarich","id":440875,"avatar_url":"https://avatars.githubusercontent.com/u/440875?v=3","gravatar_id":"","url":"https://api.github.com/users/zwarich","html_url":"https://github.com/zwarich","followers_url":"https://api.github.com/users/zwarich/followers","following_url":"https://api.github.com/users/zwarich/following{/other_user}","gists_url":"https://api.github.com/users/zwarich/gists{/gist_id}","starred_url":"https://api.github.com/users/zwarich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zwarich/subscriptions","organizations_url":"https://api.github.com/users/zwarich/orgs","repos_url":"https://api.github.com/users/zwarich/repos","events_url":"https://api.github.com/users/zwarich/events{/privacy}","received_events_url":"https://api.github.com/users/zwarich/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-05-23T04:45:42Z","updated_at":"2015-01-23T22:00:19Z","closed_at":"2015-01-23T22:00:19Z","body":"We should have some way of using `Option<uint>` (or a moral equivalent) for integers with an excluded sentinel value, e.g. `MovePathIndex` in `librustc`. It's frustrating that `Option` isn't actually a zero-cost abstraction, forcing you to fall back to manually checking sentinel values."}}