Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing constructor #16

Open
torkleyy opened this issue Feb 10, 2018 · 0 comments
Open

Confusing constructor #16

torkleyy opened this issue Feb 10, 2018 · 0 comments

Comments

@torkleyy
Copy link
Member

pub unsafe fn cast_from_usize(ptr: usize) -> Pulse {

I'm not sure how much sense this constructor makes, the usize had to be a pointer to a value in the heap, which has been allocated by Box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant