{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/21457","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/21457/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/21457/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/21457/events","html_url":"https://github.com/rust-lang/rust/pull/21457","id":54980083,"number":21457,"title":"std: Rename Show/String to Debug/Display","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":"brson","id":147214,"avatar_url":"https://avatars.githubusercontent.com/u/147214?v=3","gravatar_id":"","url":"https://api.github.com/users/brson","html_url":"https://github.com/brson","followers_url":"https://api.github.com/users/brson/followers","following_url":"https://api.github.com/users/brson/following{/other_user}","gists_url":"https://api.github.com/users/brson/gists{/gist_id}","starred_url":"https://api.github.com/users/brson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brson/subscriptions","organizations_url":"https://api.github.com/users/brson/orgs","repos_url":"https://api.github.com/users/brson/repos","events_url":"https://api.github.com/users/brson/events{/privacy}","received_events_url":"https://api.github.com/users/brson/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-01-21T05:43:10Z","updated_at":"2015-01-21T05:43:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/21457","html_url":"https://github.com/rust-lang/rust/pull/21457","diff_url":"https://github.com/rust-lang/rust/pull/21457.diff","patch_url":"https://github.com/rust-lang/rust/pull/21457.patch"},"body":"This commit is an implementation of [RFC 565][rfc] which is a stabilization of\r\nthe `std::fmt` module and the implementations of various formatting traits.\r\nSpecifically, the following changes were performed:\r\n\r\n[rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0565-show-string-guidelines.md\r\n\r\n* The `Show` trait is now deprecated, it was renamed to `Debug`\r\n* The `String` trait is now deprecated, it was renamed to `Display`\r\n* Many `Debug` and `Display` implementations were audited in accordance with the\r\n  RFC and audited implementations now have the `#[stable]` attribute\r\n  * Integers and floats no longer print a suffix\r\n  * Smart pointers no longer print details that they are a smart pointer\r\n  * Paths with `Debug` are now quoted and escape characters\r\n* The `unwrap` methods on `Result` now require `Display` instead of `Debug`\r\n* The `Error` trait no longer has a `detail` method and now requires that\r\n  `Display` must be implemented. With the loss of `String`, this has moved into\r\n  libcore.\r\n* `impl<E: Error> FromError<E> for Box<Error>` now exists\r\n* `derive(Show)` has been renamed to `derive(Debug)`. This is not currently\r\n  warned about due to warnings being emitted on stage1+\r\n\r\nWhile backwards compatibility is attempted to be maintained with a blanket\r\nimplementation of `Display` for the old `String` trait (and the same for\r\n`Show`/`Debug`) this is still a breaking change due to primitives no longer\r\nimplementing `String` as well as modifications such as `unwrap` and the `Error`\r\ntrait. Most code is fairly straightforward to update with a rename or tweaks of\r\nmethod calls.\r\n\r\n[breaking-change]\r\nCloses #21436"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/70787599","html_url":"https://github.com/rust-lang/rust/pull/21457#issuecomment-70787599","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/21457","id":70787599,"user":{"login":"rust-highfive","id":7378925,"avatar_url":"https://avatars.githubusercontent.com/u/7378925?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-highfive","html_url":"https://github.com/rust-highfive","followers_url":"https://api.github.com/users/rust-highfive/followers","following_url":"https://api.github.com/users/rust-highfive/following{/other_user}","gists_url":"https://api.github.com/users/rust-highfive/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-highfive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-highfive/subscriptions","organizations_url":"https://api.github.com/users/rust-highfive/orgs","repos_url":"https://api.github.com/users/rust-highfive/repos","events_url":"https://api.github.com/users/rust-highfive/events{/privacy}","received_events_url":"https://api.github.com/users/rust-highfive/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T05:43:23Z","updated_at":"2015-01-21T05:43:23Z","body":"r? @brson\n\n(rust_highfive has picked a reviewer for you, use r? to override)"}}