{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/25863","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/25863/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/25863/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/25863/events","html_url":"https://github.com/rust-lang/rust/issues/25863","id":82095504,"number":25863,"title":"Hide unstable items in beta/stable documentation?","user":{"login":"SimonSapin","id":291359,"avatar_url":"https://avatars.githubusercontent.com/u/291359?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonSapin","html_url":"https://github.com/SimonSapin","followers_url":"https://api.github.com/users/SimonSapin/followers","following_url":"https://api.github.com/users/SimonSapin/following{/other_user}","gists_url":"https://api.github.com/users/SimonSapin/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonSapin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonSapin/subscriptions","organizations_url":"https://api.github.com/users/SimonSapin/orgs","repos_url":"https://api.github.com/users/SimonSapin/repos","events_url":"https://api.github.com/users/SimonSapin/events{/privacy}","received_events_url":"https://api.github.com/users/SimonSapin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-28T19:43:38Z","updated_at":"2015-05-28T19:43:38Z","closed_at":null,"body":"I can’t find the link to this anymore, but I remember a user saying the seeing unstable methods and other items in the documentation felt like teasing, since they can’t be used in stable Rust.\r\n\r\nIndeed, since they’re impossible to use, unstable items are effectively not there when you’re using the stable or beta channel. Should their documentation be removed entirely from https://doc.rust-lang.org/stable/std/ https://doc.rust-lang.org/beta/std/ ?\r\n\r\nI think this could be done by having rustdoc consider that `#[unstable]` implies `#[doc(hidden)]` when `option_env!(\"CFG_DISABLE_UNSTABLE_FEATURES\").is_some()`.\r\n\r\nCC @steveklabnik "}}