{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/27284","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/27284/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/27284/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/27284/events","html_url":"https://github.com/rust-lang/rust/pull/27284","id":97246920,"number":27284,"title":"Default methods example: Show \"(in)valid\" case","user":{"login":"lastorset","id":464989,"avatar_url":"https://avatars.githubusercontent.com/u/464989?v=3","gravatar_id":"","url":"https://api.github.com/users/lastorset","html_url":"https://github.com/lastorset","followers_url":"https://api.github.com/users/lastorset/followers","following_url":"https://api.github.com/users/lastorset/following{/other_user}","gists_url":"https://api.github.com/users/lastorset/gists{/gist_id}","starred_url":"https://api.github.com/users/lastorset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lastorset/subscriptions","organizations_url":"https://api.github.com/users/lastorset/orgs","repos_url":"https://api.github.com/users/lastorset/repos","events_url":"https://api.github.com/users/lastorset/events{/privacy}","received_events_url":"https://api.github.com/users/lastorset/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars.githubusercontent.com/u/27786?v=3","gravatar_id":"","url":"https://api.github.com/users/steveklabnik","html_url":"https://github.com/steveklabnik","followers_url":"https://api.github.com/users/steveklabnik/followers","following_url":"https://api.github.com/users/steveklabnik/following{/other_user}","gists_url":"https://api.github.com/users/steveklabnik/gists{/gist_id}","starred_url":"https://api.github.com/users/steveklabnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveklabnik/subscriptions","organizations_url":"https://api.github.com/users/steveklabnik/orgs","repos_url":"https://api.github.com/users/steveklabnik/repos","events_url":"https://api.github.com/users/steveklabnik/events{/privacy}","received_events_url":"https://api.github.com/users/steveklabnik/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-07-25T18:57:06Z","updated_at":"2015-07-27T18:09:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/27284","html_url":"https://github.com/rust-lang/rust/pull/27284","diff_url":"https://github.com/rust-lang/rust/pull/27284.diff","patch_url":"https://github.com/rust-lang/rust/pull/27284.patch"},"body":"Instead of bar/baz, use valid/invalid as default methods. This\r\nillustrates why you might want default methods, and shows that you can\r\ncall other trait methods from a default method.\r\n\r\nr? @steveklabnik "},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/125291292","html_url":"https://github.com/rust-lang/rust/pull/27284#issuecomment-125291292","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/27284","id":125291292,"user":{"login":"bors","id":3372342,"avatar_url":"https://avatars.githubusercontent.com/u/3372342?v=3","gravatar_id":"","url":"https://api.github.com/users/bors","html_url":"https://github.com/bors","followers_url":"https://api.github.com/users/bors/followers","following_url":"https://api.github.com/users/bors/following{/other_user}","gists_url":"https://api.github.com/users/bors/gists{/gist_id}","starred_url":"https://api.github.com/users/bors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bors/subscriptions","organizations_url":"https://api.github.com/users/bors/orgs","repos_url":"https://api.github.com/users/bors/repos","events_url":"https://api.github.com/users/bors/events{/privacy}","received_events_url":"https://api.github.com/users/bors/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T18:09:20Z","updated_at":"2015-07-27T18:09:20Z","body":":sunny: Test successful - [auto-linux-32-nopt-t](http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/5865), [auto-linux-32-opt](http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/5880), [auto-linux-64-nopt-t](http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/5822), [auto-linux-64-opt](http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/5851), [auto-linux-64-x-android-t](http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/5827), [auto-mac-32-opt](http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/5902), [auto-mac-64-nopt-t](http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/5893), [auto-mac-64-opt](http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/5858), [auto-win-gnu-32-nopt-t](http://buildbot.rust-lang.org/builders/auto-win-gnu-32-nopt-t/builds/838), [auto-win-gnu-32-opt](http://buildbot.rust-lang.org/builders/auto-win-gnu-32-opt/builds/842), [auto-win-gnu-64-nopt-t](http://buildbot.rust-lang.org/builders/auto-win-gnu-64-nopt-t/builds/837), [auto-win-gnu-64-opt](http://buildbot.rust-lang.org/builders/auto-win-gnu-64-opt/builds/840), [auto-win-msvc-32-opt](http://buildbot.rust-lang.org/builders/auto-win-msvc-32-opt/builds/132), [auto-win-msvc-64-opt](http://buildbot.rust-lang.org/builders/auto-win-msvc-64-opt/builds/828)"}}