{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/565","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/565/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/565/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/565/events","html_url":"https://github.com/rust-lang/rfcs/pull/565","id":53922665,"number":565,"title":"RFC: fmt::Show and fmt::String guidelines","user":{"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},"labels":[],"state":"closed","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":75,"created_at":"2015-01-09T22:24:56Z","updated_at":"2015-01-23T05:55:05Z","closed_at":"2015-01-20T20:00:21Z","pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/565","html_url":"https://github.com/rust-lang/rfcs/pull/565","diff_url":"https://github.com/rust-lang/rfcs/pull/565.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/565.patch"},"body":"A [recent RFC](https://github.com/rust-lang/rfcs/pull/504) split what was previously `fmt::Show` into two traits, `fmt::Show` and `fmt::String`, with format specifiers `{:?}` and `{}` respectively.\r\n\r\nThat RFC did not, however, establish complete conventions for when to implement which of the traits, nor what is expected from the output.  That's what this RFC seeks to do.\r\n\r\n[Rendered](https://github.com/aturon/rfcs/blob/show-string-guidelines/text/0000-show-string-guidelines.md)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/71150963","html_url":"https://github.com/rust-lang/rfcs/pull/565#issuecomment-71150963","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/565","id":71150963,"user":{"login":"wycats","id":4,"avatar_url":"https://avatars.githubusercontent.com/u/4?v=3","gravatar_id":"","url":"https://api.github.com/users/wycats","html_url":"https://github.com/wycats","followers_url":"https://api.github.com/users/wycats/followers","following_url":"https://api.github.com/users/wycats/following{/other_user}","gists_url":"https://api.github.com/users/wycats/gists{/gist_id}","starred_url":"https://api.github.com/users/wycats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wycats/subscriptions","organizations_url":"https://api.github.com/users/wycats/orgs","repos_url":"https://api.github.com/users/wycats/repos","events_url":"https://api.github.com/users/wycats/events{/privacy}","received_events_url":"https://api.github.com/users/wycats/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T05:55:05Z","updated_at":"2015-01-23T05:55:05Z","body":"@carllerche I think the correct solution given specialization is probably something like an `UnwrapAs` trait that is implemented as `Debug` normally, but as `Display` for certain targeted types like `String`."}}