{"action":"created","issue":{"url":"https://api.github.com/repos/BurntSushi/rust-csv/issues/51","repository_url":"https://api.github.com/repos/BurntSushi/rust-csv","labels_url":"https://api.github.com/repos/BurntSushi/rust-csv/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/BurntSushi/rust-csv/issues/51/comments","events_url":"https://api.github.com/repos/BurntSushi/rust-csv/issues/51/events","html_url":"https://github.com/BurntSushi/rust-csv/issues/51","id":179207328,"number":51,"title":"Implement std conversion traits for Writer when appropriate","user":{"login":"jFransham","id":1509080,"avatar_url":"https://avatars2.githubusercontent.com/u/1509080?v=3","gravatar_id":"","url":"https://api.github.com/users/jFransham","html_url":"https://github.com/jFransham","followers_url":"https://api.github.com/users/jFransham/followers","following_url":"https://api.github.com/users/jFransham/following{/other_user}","gists_url":"https://api.github.com/users/jFransham/gists{/gist_id}","starred_url":"https://api.github.com/users/jFransham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jFransham/subscriptions","organizations_url":"https://api.github.com/users/jFransham/orgs","repos_url":"https://api.github.com/users/jFransham/repos","events_url":"https://api.github.com/users/jFransham/events{/privacy}","received_events_url":"https://api.github.com/users/jFransham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-26T11:49:27Z","updated_at":"2017-05-23T00:50:13Z","closed_at":null,"body":"`Writer<Vec<u8>>` could trivially implement `Into<String>`, `Into<Vec<u8>>`, `AsRef<str>` and `AsRef<[u8]>`, but doesn't. This would be good for generic programming, since taking an `&T` where `T: AsRef<Foo>`, or a `T` where `T: Into<Foo>` are extremely commmon idioms in Rust.\n"},"comment":{"url":"https://api.github.com/repos/BurntSushi/rust-csv/issues/comments/303259085","html_url":"https://github.com/BurntSushi/rust-csv/issues/51#issuecomment-303259085","issue_url":"https://api.github.com/repos/BurntSushi/rust-csv/issues/51","id":303259085,"user":{"login":"BurntSushi","id":456674,"avatar_url":"https://avatars0.githubusercontent.com/u/456674?v=3","gravatar_id":"","url":"https://api.github.com/users/BurntSushi","html_url":"https://github.com/BurntSushi","followers_url":"https://api.github.com/users/BurntSushi/followers","following_url":"https://api.github.com/users/BurntSushi/following{/other_user}","gists_url":"https://api.github.com/users/BurntSushi/gists{/gist_id}","starred_url":"https://api.github.com/users/BurntSushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurntSushi/subscriptions","organizations_url":"https://api.github.com/users/BurntSushi/orgs","repos_url":"https://api.github.com/users/BurntSushi/repos","events_url":"https://api.github.com/users/BurntSushi/events{/privacy}","received_events_url":"https://api.github.com/users/BurntSushi/received_events","type":"User","site_admin":false},"created_at":"2017-05-23T00:50:13Z","updated_at":"2017-05-23T00:50:13Z","body":"I actually disagree with implementing the `Into` traits, since that requires the writer to not flush its internal buffer or to flush the buffer and ignore the error or to flush the buffer and panic on error.\r\n\r\nCould you expand on the use cases for adding these APIs (including `AsRef`)?"}}
{"actor":{"display_login":"BurntSushi"}}