{"action":"created","issue":{"url":"https://api.github.com/repos/Vrixyz/testbed-callback/issues/1","repository_url":"https://api.github.com/repos/Vrixyz/testbed-callback","labels_url":"https://api.github.com/repos/Vrixyz/testbed-callback/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Vrixyz/testbed-callback/issues/1/comments","events_url":"https://api.github.com/repos/Vrixyz/testbed-callback/issues/1/events","html_url":"https://github.com/Vrixyz/testbed-callback/issues/1","id":350000739,"node_id":"MDU6SXNzdWUzNTAwMDA3Mzk=","number":1,"title":"Make this example compile and working !","user":{"login":"Vrixyz","id":2290685,"node_id":"MDQ6VXNlcjIyOTA2ODU=","avatar_url":"https://avatars3.githubusercontent.com/u/2290685?v=4","gravatar_id":"","url":"https://api.github.com/users/Vrixyz","html_url":"https://github.com/Vrixyz","followers_url":"https://api.github.com/users/Vrixyz/followers","following_url":"https://api.github.com/users/Vrixyz/following{/other_user}","gists_url":"https://api.github.com/users/Vrixyz/gists{/gist_id}","starred_url":"https://api.github.com/users/Vrixyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vrixyz/subscriptions","organizations_url":"https://api.github.com/users/Vrixyz/orgs","repos_url":"https://api.github.com/users/Vrixyz/repos","events_url":"https://api.github.com/users/Vrixyz/events{/privacy}","received_events_url":"https://api.github.com/users/Vrixyz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-13T12:02:03Z","updated_at":"2018-08-13T23:42:08Z","closed_at":null,"author_association":"OWNER","body":"This line causes trouble:\r\n\r\nhttps://github.com/Vrixyz/testbed-callback/blob/master/src/main.rs#L77\r\n\r\nI understand why : because physics_world is move here: https://github.com/Vrixyz/testbed-callback/blob/master/src/main.rs#L67.\r\n\r\nBut I have no idea how to fix it 😞 \r\n\r\nThanks for your help!\r\n\r\n13/08: Help asked at [nphysics forum](https://discourse.nphysics.org/t/testbed-and-specs-rs-how-to-influence-physics-world/242)"},"comment":{"url":"https://api.github.com/repos/Vrixyz/testbed-callback/issues/comments/412702671","html_url":"https://github.com/Vrixyz/testbed-callback/issues/1#issuecomment-412702671","issue_url":"https://api.github.com/repos/Vrixyz/testbed-callback/issues/1","id":412702671,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjcwMjY3MQ==","user":{"login":"thedodd","id":2380740,"node_id":"MDQ6VXNlcjIzODA3NDA=","avatar_url":"https://avatars1.githubusercontent.com/u/2380740?v=4","gravatar_id":"","url":"https://api.github.com/users/thedodd","html_url":"https://github.com/thedodd","followers_url":"https://api.github.com/users/thedodd/followers","following_url":"https://api.github.com/users/thedodd/following{/other_user}","gists_url":"https://api.github.com/users/thedodd/gists{/gist_id}","starred_url":"https://api.github.com/users/thedodd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thedodd/subscriptions","organizations_url":"https://api.github.com/users/thedodd/orgs","repos_url":"https://api.github.com/users/thedodd/repos","events_url":"https://api.github.com/users/thedodd/events{/privacy}","received_events_url":"https://api.github.com/users/thedodd/received_events","type":"User","site_admin":false},"created_at":"2018-08-13T23:42:08Z","updated_at":"2018-08-13T23:42:08Z","author_association":"NONE","body":"Hey, per my comment on Twitter:\r\nI haven’t delved too deep into the code, but a few things come to mind:\r\n1. Use a reference instead of passing it in by value. \r\n2. Clone it (as someone else previously mentioned).\r\n3. Arc it (heap allocation, but that shouldn’t be a big deal). \r\n\r\nI’ll dig a bit deeper and comment again if those options are not viable. "}}
{"actor":{"display_login":"thedodd"}}