{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/www.rust-lang.org/issues/346","repository_url":"https://api.github.com/repos/rust-lang/www.rust-lang.org","labels_url":"https://api.github.com/repos/rust-lang/www.rust-lang.org/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/www.rust-lang.org/issues/346/comments","events_url":"https://api.github.com/repos/rust-lang/www.rust-lang.org/issues/346/events","html_url":"https://github.com/rust-lang/www.rust-lang.org/issues/346","id":382420887,"node_id":"MDU6SXNzdWUzODI0MjA4ODc=","number":346,"title":"User's first example is complex","user":{"login":"jonathandturner","id":547158,"node_id":"MDQ6VXNlcjU0NzE1OA==","avatar_url":"https://avatars0.githubusercontent.com/u/547158?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathandturner","html_url":"https://github.com/jonathandturner","followers_url":"https://api.github.com/users/jonathandturner/followers","following_url":"https://api.github.com/users/jonathandturner/following{/other_user}","gists_url":"https://api.github.com/users/jonathandturner/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathandturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathandturner/subscriptions","organizations_url":"https://api.github.com/users/jonathandturner/orgs","repos_url":"https://api.github.com/users/jonathandturner/repos","events_url":"https://api.github.com/users/jonathandturner/events{/privacy}","received_events_url":"https://api.github.com/users/jonathandturner/received_events","type":"User","site_admin":false},"labels":[{"id":970418587,"node_id":"MDU6TGFiZWw5NzA0MTg1ODc=","url":"https://api.github.com/repos/rust-lang/www.rust-lang.org/labels/content","name":"content","color":"05ba90","default":false}],"state":"open","locked":false,"assignee":{"login":"ashleygwilliams","id":1163554,"node_id":"MDQ6VXNlcjExNjM1NTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1163554?v=4","gravatar_id":"","url":"https://api.github.com/users/ashleygwilliams","html_url":"https://github.com/ashleygwilliams","followers_url":"https://api.github.com/users/ashleygwilliams/followers","following_url":"https://api.github.com/users/ashleygwilliams/following{/other_user}","gists_url":"https://api.github.com/users/ashleygwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/ashleygwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashleygwilliams/subscriptions","organizations_url":"https://api.github.com/users/ashleygwilliams/orgs","repos_url":"https://api.github.com/users/ashleygwilliams/repos","events_url":"https://api.github.com/users/ashleygwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/ashleygwilliams/received_events","type":"User","site_admin":false},"assignees":[{"login":"ashleygwilliams","id":1163554,"node_id":"MDQ6VXNlcjExNjM1NTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1163554?v=4","gravatar_id":"","url":"https://api.github.com/users/ashleygwilliams","html_url":"https://github.com/ashleygwilliams","followers_url":"https://api.github.com/users/ashleygwilliams/followers","following_url":"https://api.github.com/users/ashleygwilliams/following{/other_user}","gists_url":"https://api.github.com/users/ashleygwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/ashleygwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashleygwilliams/subscriptions","organizations_url":"https://api.github.com/users/ashleygwilliams/orgs","repos_url":"https://api.github.com/users/ashleygwilliams/repos","events_url":"https://api.github.com/users/ashleygwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/ashleygwilliams/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/rust-lang/www.rust-lang.org/milestones/9","html_url":"https://github.com/rust-lang/www.rust-lang.org/milestone/9","labels_url":"https://api.github.com/repos/rust-lang/www.rust-lang.org/milestones/9/labels","id":3858882,"node_id":"MDk6TWlsZXN0b25lMzg1ODg4Mg==","number":9,"title":"end-of-year","description":"items to be completed and released before the end of the year.","creator":{"login":"ashleygwilliams","id":1163554,"node_id":"MDQ6VXNlcjExNjM1NTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1163554?v=4","gravatar_id":"","url":"https://api.github.com/users/ashleygwilliams","html_url":"https://github.com/ashleygwilliams","followers_url":"https://api.github.com/users/ashleygwilliams/followers","following_url":"https://api.github.com/users/ashleygwilliams/following{/other_user}","gists_url":"https://api.github.com/users/ashleygwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/ashleygwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashleygwilliams/subscriptions","organizations_url":"https://api.github.com/users/ashleygwilliams/orgs","repos_url":"https://api.github.com/users/ashleygwilliams/repos","events_url":"https://api.github.com/users/ashleygwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/ashleygwilliams/received_events","type":"User","site_admin":false},"open_issues":50,"closed_issues":19,"state":"open","created_at":"2018-11-29T16:18:42Z","updated_at":"2018-12-13T20:02:38Z","due_on":"2018-12-31T08:00:00Z","closed_at":null},"comments":8,"created_at":"2018-11-19T22:33:52Z","updated_at":"2018-12-17T03:31:48Z","closed_at":null,"author_association":"NONE","body":"Looking through the first example we show the users, I think it's great we get them comfortable with crates.io. That said, the code itself feels like the concept count may a be a bit on the high side for a first example:\r\n\r\n```Rust\r\nuse ferris_says::say; // from the previous step\r\nuse std::io::{stdout, BufWriter};\r\n\r\nfn main() {\r\n    let stdout = stdout();\r\n    let out = b\"Hello fellow Rustaceans!\";\r\n    let width = 24;\r\n\r\n    let mut writer = BufWriter::new(stdout.lock());\r\n    say(out, width, &mut writer).unwrap();\r\n}\r\n```\r\n\r\nConcepts covered:\r\n* External modules\r\n* Standard library\r\n* Byte strings (a user might wonder if all strings need a 'b' in front)\r\n* Locking generally, as well as locking of stdout (this seems peculiar to Rust and may surprise folks)\r\n* Mutable borrows (yay!)\r\n* Unwrapping (what does it mean to unwrap?)\r\n\r\nIf we want to keep the example largely the same, one possibility would be to allow the user to hover over parts of the code and get an explanation for each piece. This would let them have self-directed exploration of the unfamiliar parts."},"comment":{"url":"https://api.github.com/repos/rust-lang/www.rust-lang.org/issues/comments/447712473","html_url":"https://github.com/rust-lang/www.rust-lang.org/issues/346#issuecomment-447712473","issue_url":"https://api.github.com/repos/rust-lang/www.rust-lang.org/issues/346","id":447712473,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzcxMjQ3Mw==","user":{"login":"Nbsaw","id":12481935,"node_id":"MDQ6VXNlcjEyNDgxOTM1","avatar_url":"https://avatars3.githubusercontent.com/u/12481935?v=4","gravatar_id":"","url":"https://api.github.com/users/Nbsaw","html_url":"https://github.com/Nbsaw","followers_url":"https://api.github.com/users/Nbsaw/followers","following_url":"https://api.github.com/users/Nbsaw/following{/other_user}","gists_url":"https://api.github.com/users/Nbsaw/gists{/gist_id}","starred_url":"https://api.github.com/users/Nbsaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nbsaw/subscriptions","organizations_url":"https://api.github.com/users/Nbsaw/orgs","repos_url":"https://api.github.com/users/Nbsaw/repos","events_url":"https://api.github.com/users/Nbsaw/events{/privacy}","received_events_url":"https://api.github.com/users/Nbsaw/received_events","type":"User","site_admin":false},"created_at":"2018-12-17T03:31:48Z","updated_at":"2018-12-17T03:31:48Z","author_association":"NONE","body":"Same issues for me ,  then i had to add `extern crate ferris_says;` had to add this line . "}}
{"actor":{"display_login":"Nbsaw"}}