{"action":"created","issue":{"url":"https://api.github.com/repos/SimonSapin/kuchiki/issues/14","labels_url":"https://api.github.com/repos/SimonSapin/kuchiki/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/SimonSapin/kuchiki/issues/14/comments","events_url":"https://api.github.com/repos/SimonSapin/kuchiki/issues/14/events","html_url":"https://github.com/SimonSapin/kuchiki/pull/14","id":108053099,"number":14,"title":"Implement tree::Element::get_target_state from rust-selectors","user":{"login":"marvelm","id":10149609,"avatar_url":"https://avatars.githubusercontent.com/u/10149609?v=3","gravatar_id":"","url":"https://api.github.com/users/marvelm","html_url":"https://github.com/marvelm","followers_url":"https://api.github.com/users/marvelm/followers","following_url":"https://api.github.com/users/marvelm/following{/other_user}","gists_url":"https://api.github.com/users/marvelm/gists{/gist_id}","starred_url":"https://api.github.com/users/marvelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marvelm/subscriptions","organizations_url":"https://api.github.com/users/marvelm/orgs","repos_url":"https://api.github.com/users/marvelm/repos","events_url":"https://api.github.com/users/marvelm/events{/privacy}","received_events_url":"https://api.github.com/users/marvelm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-24T03:55:59Z","updated_at":"2015-09-24T05:17:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SimonSapin/kuchiki/pulls/14","html_url":"https://github.com/SimonSapin/kuchiki/pull/14","diff_url":"https://github.com/SimonSapin/kuchiki/pull/14.diff","patch_url":"https://github.com/SimonSapin/kuchiki/pull/14.patch"},"body":"This fixes the following build error:\r\n> cargo build\r\n   Compiling kuchiki v0.1.0 (file:///Users/a_/dev/kuchiki)\r\nsrc/select.rs:10:1: 106:2 error: not all trait items implemented, missing: `get_target_state` [E0046]\r\nsrc/select.rs:10 impl selectors::Element for NodeDataRef<ElementData> {\r\nsrc/select.rs:11     #[inline]\r\nsrc/select.rs:12     fn parent_element(&self) -> Option<Self> {\r\nsrc/select.rs:13         self.as_node().parent().and_then(NodeRef::into_element_ref)\r\nsrc/select.rs:14     }\r\nsrc/select.rs:15     #[inline]\r\n                 ...\r\nsrc/select.rs:10:1: 106:2 help: run `rustc --explain E0046` to see a detailed explanation\r\nerror: aborting due to previous error\r\nCould not compile `kuchiki`.\r\n\r\nI'm not sure of the function's purpose. So, I've made the implementation always return `false`."},"comment":{"url":"https://api.github.com/repos/SimonSapin/kuchiki/issues/comments/142813861","html_url":"https://github.com/SimonSapin/kuchiki/pull/14#issuecomment-142813861","issue_url":"https://api.github.com/repos/SimonSapin/kuchiki/issues/14","id":142813861,"user":{"login":"SimonSapin","id":291359,"avatar_url":"https://avatars.githubusercontent.com/u/291359?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonSapin","html_url":"https://github.com/SimonSapin","followers_url":"https://api.github.com/users/SimonSapin/followers","following_url":"https://api.github.com/users/SimonSapin/following{/other_user}","gists_url":"https://api.github.com/users/SimonSapin/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonSapin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonSapin/subscriptions","organizations_url":"https://api.github.com/users/SimonSapin/orgs","repos_url":"https://api.github.com/users/SimonSapin/repos","events_url":"https://api.github.com/users/SimonSapin/events{/privacy}","received_events_url":"https://api.github.com/users/SimonSapin/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T05:17:23Z","updated_at":"2015-09-24T05:17:23Z","body":"Uh, old habits. @bors-servo is not set up here."}}