{"action":"created","issue":{"url":"https://api.github.com/repos/diwic/alsa-rs/issues/18","repository_url":"https://api.github.com/repos/diwic/alsa-rs","labels_url":"https://api.github.com/repos/diwic/alsa-rs/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/diwic/alsa-rs/issues/18/comments","events_url":"https://api.github.com/repos/diwic/alsa-rs/issues/18/events","html_url":"https://github.com/diwic/alsa-rs/issues/18","id":218159713,"number":18,"title":"Why is PortSubscribe::new() private?","user":{"login":"Boddlnagg","id":1024333,"avatar_url":"https://avatars3.githubusercontent.com/u/1024333?v=3","gravatar_id":"","url":"https://api.github.com/users/Boddlnagg","html_url":"https://github.com/Boddlnagg","followers_url":"https://api.github.com/users/Boddlnagg/followers","following_url":"https://api.github.com/users/Boddlnagg/following{/other_user}","gists_url":"https://api.github.com/users/Boddlnagg/gists{/gist_id}","starred_url":"https://api.github.com/users/Boddlnagg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boddlnagg/subscriptions","organizations_url":"https://api.github.com/users/Boddlnagg/orgs","repos_url":"https://api.github.com/users/Boddlnagg/repos","events_url":"https://api.github.com/users/Boddlnagg/events{/privacy}","received_events_url":"https://api.github.com/users/Boddlnagg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-30T11:01:25Z","updated_at":"2017-03-30T11:03:26Z","closed_at":null,"body":"Is there a reason why `PortSubscribe::new()` is private? I can use `PortSubscribe::empty()` instead, but I'm not sure what's the difference."},"comment":{"url":"https://api.github.com/repos/diwic/alsa-rs/issues/comments/290378255","html_url":"https://github.com/diwic/alsa-rs/issues/18#issuecomment-290378255","issue_url":"https://api.github.com/repos/diwic/alsa-rs/issues/18","id":290378255,"user":{"login":"Boddlnagg","id":1024333,"avatar_url":"https://avatars3.githubusercontent.com/u/1024333?v=3","gravatar_id":"","url":"https://api.github.com/users/Boddlnagg","html_url":"https://github.com/Boddlnagg","followers_url":"https://api.github.com/users/Boddlnagg/followers","following_url":"https://api.github.com/users/Boddlnagg/following{/other_user}","gists_url":"https://api.github.com/users/Boddlnagg/gists{/gist_id}","starred_url":"https://api.github.com/users/Boddlnagg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boddlnagg/subscriptions","organizations_url":"https://api.github.com/users/Boddlnagg/orgs","repos_url":"https://api.github.com/users/Boddlnagg/repos","events_url":"https://api.github.com/users/Boddlnagg/events{/privacy}","received_events_url":"https://api.github.com/users/Boddlnagg/received_events","type":"User","site_admin":false},"created_at":"2017-03-30T11:03:26Z","updated_at":"2017-03-30T11:03:26Z","body":"Looking at the implementation, I see that `empty()` calls `new()` internally and zeroes the memory. This should be documented. Maybe `new()` should be public, but `unsafe`?"}}
{"actor":{"display_login":"Boddlnagg"}}