{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/37386","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/37386/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/37386/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/37386/events","html_url":"https://github.com/rust-lang/rust/pull/37386","id":184984943,"number":37386,"title":"Add example using Self to reference","user":{"login":"johnthagen","id":10340167,"avatar_url":"https://avatars.githubusercontent.com/u/10340167?v=3","gravatar_id":"","url":"https://api.github.com/users/johnthagen","html_url":"https://github.com/johnthagen","followers_url":"https://api.github.com/users/johnthagen/followers","following_url":"https://api.github.com/users/johnthagen/following{/other_user}","gists_url":"https://api.github.com/users/johnthagen/gists{/gist_id}","starred_url":"https://api.github.com/users/johnthagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnthagen/subscriptions","organizations_url":"https://api.github.com/users/johnthagen/orgs","repos_url":"https://api.github.com/users/johnthagen/repos","events_url":"https://api.github.com/users/johnthagen/events{/privacy}","received_events_url":"https://api.github.com/users/johnthagen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Manishearth","id":1617736,"avatar_url":"https://avatars.githubusercontent.com/u/1617736?v=3","gravatar_id":"","url":"https://api.github.com/users/Manishearth","html_url":"https://github.com/Manishearth","followers_url":"https://api.github.com/users/Manishearth/followers","following_url":"https://api.github.com/users/Manishearth/following{/other_user}","gists_url":"https://api.github.com/users/Manishearth/gists{/gist_id}","starred_url":"https://api.github.com/users/Manishearth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manishearth/subscriptions","organizations_url":"https://api.github.com/users/Manishearth/orgs","repos_url":"https://api.github.com/users/Manishearth/repos","events_url":"https://api.github.com/users/Manishearth/events{/privacy}","received_events_url":"https://api.github.com/users/Manishearth/received_events","type":"User","site_admin":false},"assignees":[{"login":"Manishearth","id":1617736,"avatar_url":"https://avatars.githubusercontent.com/u/1617736?v=3","gravatar_id":"","url":"https://api.github.com/users/Manishearth","html_url":"https://github.com/Manishearth","followers_url":"https://api.github.com/users/Manishearth/followers","following_url":"https://api.github.com/users/Manishearth/following{/other_user}","gists_url":"https://api.github.com/users/Manishearth/gists{/gist_id}","starred_url":"https://api.github.com/users/Manishearth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manishearth/subscriptions","organizations_url":"https://api.github.com/users/Manishearth/orgs","repos_url":"https://api.github.com/users/Manishearth/repos","events_url":"https://api.github.com/users/Manishearth/events{/privacy}","received_events_url":"https://api.github.com/users/Manishearth/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2016-10-24T23:56:05Z","updated_at":"2016-11-06T10:28:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/37386","html_url":"https://github.com/rust-lang/rust/pull/37386","diff_url":"https://github.com/rust-lang/rust/pull/37386.diff","patch_url":"https://github.com/rust-lang/rust/pull/37386.patch"},"body":"When I first came across `Self` I had a hard time finding references to it in the docs (and it's also been asked about on [StackOverflow](http://stackoverflow.com/questions/32304595/whats-the-difference-between-self-and-self).\n\nI hope this example provides someone who comes across it for the first time a little more help.  If there is a better way to show an example actually using `Self`, I'm happy to modify this.  It was just the simplest place to start I could see.\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/258672195","html_url":"https://github.com/rust-lang/rust/pull/37386#issuecomment-258672195","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/37386","id":258672195,"user":{"login":"GuillaumeGomez","id":3050060,"avatar_url":"https://avatars.githubusercontent.com/u/3050060?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeGomez","html_url":"https://github.com/GuillaumeGomez","followers_url":"https://api.github.com/users/GuillaumeGomez/followers","following_url":"https://api.github.com/users/GuillaumeGomez/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeGomez/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeGomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeGomez/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeGomez/orgs","repos_url":"https://api.github.com/users/GuillaumeGomez/repos","events_url":"https://api.github.com/users/GuillaumeGomez/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeGomez/received_events","type":"User","site_admin":false},"created_at":"2016-11-06T10:28:55Z","updated_at":"2016-11-06T10:28:55Z","body":"@bors: r+ rollup"}}
{"actor":{"display_login":"GuillaumeGomez"}}