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

Dedup & de-lint #6

Closed
wants to merge 3 commits into from
Closed

Dedup & de-lint #6

wants to merge 3 commits into from

Conversation

dwijnand
Copy link
Contributor

Supersedes #4

Pointer {
ptr: NonNull::from(ptr),
clone: clone::<T>,
drop: drop::<T>,
clone,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried hard to define this in terms of NonNull::from but I couldn't get the type to aligned. Read a bunch about higher-ranked trait bounds but couldn't figure it out.

@dwijnand
Copy link
Contributor Author

There's no rush to accept this. I'd be happy to come back to this effort if there's any interest for it.

@dwijnand dwijnand closed this Dec 18, 2018
@dwijnand dwijnand deleted the cleanup-pointer branch December 18, 2018 16:49
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

Successfully merging this pull request may close these issues.

1 participant