{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/30943","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/30943/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/30943/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/30943/events","html_url":"https://github.com/rust-lang/rust/pull/30943","id":126959783,"number":30943,"title":"std: Stabilize APIs for the 1.7 release","user":{"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},"labels":[],"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":12,"created_at":"2016-01-15T21:18:00Z","updated_at":"2016-01-16T19:03:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/30943","html_url":"https://github.com/rust-lang/rust/pull/30943","diff_url":"https://github.com/rust-lang/rust/pull/30943.diff","patch_url":"https://github.com/rust-lang/rust/pull/30943.patch"},"body":"This commit stabilizes and deprecates the FCP (final comment period) APIs for\r\nthe upcoming 1.7 beta release. The specific APIs which changed were:\r\n\r\nStabilized\r\n\r\n* `Path::strip_prefix` (renamed from `relative_from`)\r\n* `path::StripPrefixError` (new error type returned from `strip_prefix`)\r\n* `Ipv4Addr::is_loopback`\r\n* `Ipv4Addr::is_private`\r\n* `Ipv4Addr::is_link_local`\r\n* `Ipv4Addr::is_multicast`\r\n* `Ipv4Addr::is_broadcast`\r\n* `Ipv4Addr::is_documentation`\r\n* `Ipv6Addr::is_unspecified`\r\n* `Ipv6Addr::is_loopback`\r\n* `Ipv6Addr::is_unique_local`\r\n* `Ipv6Addr::is_multicast`\r\n* `Vec::as_slice`\r\n* `Vec::as_mut_slice`\r\n* `String::as_str`\r\n* `String::as_mut_str`\r\n* `<[T]>::clone_from_slice` - the `usize` return value is removed\r\n* `<[T]>::sort_by_key`\r\n* `i32::checked_rem` (and other signed types)\r\n* `i32::checked_neg` (and other signed types)\r\n* `i32::checked_shl` (and other signed types)\r\n* `i32::checked_shr` (and other signed types)\r\n* `i32::saturating_mul` (and other signed types)\r\n* `i32::overflowing_add` (and other signed types)\r\n* `i32::overflowing_sub` (and other signed types)\r\n* `i32::overflowing_mul` (and other signed types)\r\n* `i32::overflowing_div` (and other signed types)\r\n* `i32::overflowing_rem` (and other signed types)\r\n* `i32::overflowing_neg` (and other signed types)\r\n* `i32::overflowing_shl` (and other signed types)\r\n* `i32::overflowing_shr` (and other signed types)\r\n* `u32::checked_rem` (and other unsigned types)\r\n* `u32::checked_shl` (and other unsigned types)\r\n* `u32::saturating_mul` (and other unsigned types)\r\n* `u32::overflowing_add` (and other unsigned types)\r\n* `u32::overflowing_sub` (and other unsigned types)\r\n* `u32::overflowing_mul` (and other unsigned types)\r\n* `u32::overflowing_div` (and other unsigned types)\r\n* `u32::overflowing_rem` (and other unsigned types)\r\n* `u32::overflowing_neg` (and other unsigned types)\r\n* `u32::overflowing_shl` (and other unsigned types)\r\n* `u32::overflowing_shr` (and other unsigned types)\r\n* `ffi::IntoStringError`\r\n* `CString::into_string`\r\n* `CString::into_bytes`\r\n* `CString::into_bytes_with_nul`\r\n* `From<CString> for Vec<u8>`\r\n* `From<CString> for Vec<u8>`\r\n* `IntoStringError::into_cstring`\r\n* `IntoStringError::utf8_error`\r\n* `Error for IntoStringError`\r\n\r\nDeprecated\r\n\r\n* `Path::relative_from` - renamed to `strip_prefix`\r\n* `Path::prefix` - use `components().next()` instead\r\n* `os::unix::fs` constants - moved to the `libc` crate\r\n* `fmt::{radix, Radix, RadixFmt}` - not used enough to stabilize\r\n* `IntoCow` - conflicts with `Into` and may come back later\r\n* `i32::{BITS, BYTES}` (and other integers) - not pulling their weight\r\n* `DebugTuple::formatter` - will be removed\r\n* `sync::Semaphore` - not used enough and confused with system semaphores\r\n\r\nCloses #23284\r\ncc #27709 (still lots more methods though)\r\nCloses #27712\r\nCloses #27722\r\nCloses #27728\r\nCloses #27735\r\nCloses #27729\r\nCloses #27755\r\nCloses #27782\r\nCloses #27798"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/172246766","html_url":"https://github.com/rust-lang/rust/pull/30943#issuecomment-172246766","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/30943","id":172246766,"user":{"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},"created_at":"2016-01-16T19:03:28Z","updated_at":"2016-01-16T19:03:28Z","body":"@bors: r=aturon 9a4f43b"}}